Mailing List Archive

[Bricolage #237] media_uri entry disappears when media is deactivated
// Add your reply above here
==================================================
Nick Legg updated this ticket at July 14th, 2011 @ 03:49 PM

Well, I think I have figured out why this happens. See the function _delete_uris() in lib/Bric/Biz/Asset/Business.pm. It deletes the media_uri or story_uri entry for an asset as it is deactivated.

This doesn't hurt when searching for deactivated stories, because stories have the primary_uri field in the story table itself. Media, on the other hand, do not. Once the media_uri entry is gone, you need to search for deactivated media using other methods.

Is there some benefit to deleting the media/story_uri entries? Would it hurt to _not_ do this?
--------------------------------------------------------------------------------

Assigned: theory
State: new
Milestone: 2.1.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/237-media_uri-entry-disappears-when-media-is-deactivated

Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/watching/27c48405f46a503d354be705a0f7436bf52367db
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com
[Bricolage #237] media_uri entry disappears when media is deactivated [ In reply to ]
// Add your reply above here
==================================================
theory updated this ticket at July 14th, 2011 @ 04:04 PM

Yes, they're deleted so that new media can have the same URI. If a media document has been "deleted," it should not be taking up a URI.
--------------------------------------------------------------------------------

Assigned: theory
State: new
Milestone: 2.1.0
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/237-media_uri-entry-disappears-when-media-is-deactivated

Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/watching/27c48405f46a503d354be705a0f7436bf52367db
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com