HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[Resolved] 9.0.5 meta data bug?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#95425 (In Topic #18992)
Avatar

Community saint

On one of my sites, the admin created a Wiki page containing text and some download links using the [attachment] ...[/attachment] tags to embed downloadable files from the media manager. When editing (or just saving without editing) the Wiki page, the meta data for the number of downloads is reset to 0.

I haven't taken a look at the database to see if the meta data there has actually been reset, or if the act of saving the page, the meta data isn't pulled in again from the db.

Steve
Back to the top
 
Important!
Posted
Rating:
#95426
Avatar

Automated fix message

sholzy said

On one of my sites, the admin created a Wiki page containing text and some download links using the [attachment] ...[/attachment] tags to embed downloadable files from the media manager. When editing (or just saving without editing) the Wiki page, the meta data for the number of downloads is reset to 0.

I haven't taken a look at the database to see if the meta data there has actually been reset, or if the act of saving the page, the meta data isn't pulled in again from the db.
This issue has been filed on the tracker as issue #1039, with a fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Important!
 
Posted
Rating:
#95427
Avatar

(Good timing btw, you literally just caught 9.0.6)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95432
Avatar

Community saint

I see you have the hotfix marked as 9.0.6. Can I assume this can be applied to my 9.0.5?

Can those extra rows be safely deleted so as to pick up the original meta data??

Steve
Back to the top
 
Posted
Rating:
#95434
Avatar

Whoops, I'd bumped the version before building the fix. It should say 9.0.5, and will be compatible.

I suspect it will magically work without you having to delete anything. As it will auto-match to the first attachment with that media file URL next time you do an edit.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95435
Avatar

Community saint

Chris Graham said

Whoops, I'd bumped the version before building the fix. It should say 9.0.5, and will be compatible.

I suspect it will magically work without you having to delete anything. As it will auto-match to the first attachment with that media file URL next time you do an edit.

Ok. Thanks, Chris.

I'll report back the meta data results either way for future reference for others.

[edit:] Magically worked just as Chris stated.  :thumbs:  :lol:


Last edit: by sholzy

Steve
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: