
no-reply at lighthouseapp
Jul 7, 2010, 5:49 AM
Post #3 of 4
(350 views)
Permalink
|
|
[Bricolage #184] bric_soap media update sets the current time as the media's expire date
[In reply to]
|
|
// Add your reply above here ================================================== Nick Legg updated this ticket at July 7th, 2010 @ 12:49 PM Before SOAP export: ------------------- bric=> select media.id,current_version,publish_date,expire_date,active,uri from media,media_uri where media.id = media_uri.media__id and media_uri.uri like '%hamster%'; id | current_version | publish_date | expire_date | active | uri -------+-----------------+---------------------+-------------+--------+----------------------------------------- 46878 | 28 | 2010-07-06 19:29:46 | | t | /testpages/hamster%20on%20a%20piano.jpg SOAP export: ------------ /usr/local/bricolage/bin/bric_soap media export media_46878 > exported_media_46878.xml Exported file: -------------- See my attachment exported_media_46878.xml (no changes were made to the file between export and update) SOAP update: ------------ /usr/local/bricolage/bin/bric_soap media update exported_media_46878.xml After SOAP update: ------------------ bric=> select media.id,current_version,publish_date,expire_date,active,uri from media,media_uri where media.id = media_uri.media__id and media_uri.uri like '%hamster%'; id | current_version | publish_date | expire_date | active | uri -------+-----------------+---------------------+---------------------+--------+----------------------------------------- 46878 | 29 | 2010-07-07 12:40:21 | 2010-07-07 12:40:21 | t | /testpages/hamster%20on%20a%20piano.jpg -------------------------------------------------------------------------------- Assigned: theory State: open Milestone: 1.10.11 Assets: - exported_media_46878.xml http://bricolage.lighthouseapp.com/projects/29601/tickets/184/a/587673/exported_media_46878.xml View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/184-bric_soap-media-update-sets-the-current-time-as-the-medias-expire-date Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/184-bric_soap-media-update-sets-the-current-time-as-the-medias-expire-date/watch Update your Profile: http://bricolage.lighthouseapp.com/profile Support: support [at] lighthouseapp or http://help.lighthouseapp.com
|