
no-reply at lighthouseapp
Jun 24, 2009, 12:19 PM
Post #1 of 1
(649 views)
Permalink
|
|
[Bricolage #93] Can't check in a story
|
|
// Add your reply above here ================================================== bret (at pectopah) updated this ticket at June 24th, 2009 @ 07:19 PM * Tag changed from "" to "major story version" This one looks like the "Story Version" bug that's been tormenting us all. See this thread for more: http://www.gossamer-threads.com/lists/bricolage/devel/36279 Here are steps to reproduce it (in 1.10.7), as Greg wrote them: 0. Create a new story, check it into a desk. - story_instance gets version = 1, checked_out = f 1. Check out the story from the desk. - story_instance gets version = 1, checked_out = t 2. Return to the desk, use the "Check in" link - story_instance gets version = 2, checked_out = f 3. Check out the story again. - story_instance gets version = 2, checked_out = t ...but the story profile screen still says "Current Version: 1". Other users will see "Current Version: 2" so I think this is a session/ caching problem 4. Return to the desk, use the "Check in" link - story_instance gets version = 3, checked_out = f 5. Check out the story again. - story_instance gets version = 3, checked_out = t ...again, the story profile says "Current Version: 1". 6. This time, use the "Check in" button at the bottom of the story profile screen. - The desk now says the story is at version 2 - story_instance still has the "version = 3, checked_out = t" record At this point, the log shows the version number going from 2 to 3 to 2 again. If you check out the story and check in from the story profile, you'll get an SQL complaint on udx_story__story_instance because it's trying to create version 3, which already exists. Callback::Profile::Story->checkin() calls a clear_my_state() method, while Callback::Desk->checkin() doesn't have anything like that. Does this have anything to do with it? Or is it some other difference between the two checkin() methods? -------------------------------------------------------------------------------- Assigned: Bugs (at bricolage) State: new Milestone: 1.11.2 View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/93-cant-check-in-a-story Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/93-cant-check-in-a-story/watch Update your Profile: http://bricolage.lighthouseapp.com/profile Support: support [at] lighthouseapp or http://help.lighthouseapp.com
|