Activity log for bug #512182

Date Who What changed Old value New value Message
2010-01-25 04:15:02 Curtis Hovey bug added bug
2010-01-25 04:19:16 Curtis Hovey description When a release is created from a milestone all the fix committed bugs are updated to fix released, but the events are nre recording the in the bug history, nor is the assigned enineer awarded karma. The problem is in Milestone.createProductRelease(). The look of bugtasks must use snapshot and ObjectModifiedEvent to ensure the subscriber. for bugtask in self.open_bugtasks: if bugtask.status == BugTaskStatus.FIXCOMMITTED: original_bugtask = Snapshot( bugtask, providing=providedBy(bugtask)) bugtask.transitionToStatus(BugTaskStatus.FIXRELEASED, owner) ObjectModifiedEvent( object=bugtask, object_before_modification=original_bugtask, edited_fields=['status'])) When a release is created from a milestone all the fix committed bugs are updated to fix released, but the events are not recorded in the bug history, nor is the assigned engineer awarded karma. The problem is in Milestone.createProductRelease(). The loop of bugtasks must use snapshot and ObjectModifiedEvent to ensure the subscribers are notified.         for bugtask in self.open_bugtasks:             if bugtask.status == BugTaskStatus.FIXCOMMITTED:                 original_bugtask = Snapshot(                     bugtask, providing=providedBy(bugtask))                 bugtask.transitionToStatus(BugTaskStatus.FIXRELEASED, owner)                 ObjectModifiedEvent(                     object=bugtask, object_before_modification=original_bugtask,                     edited_fields=['status']))
2010-01-25 04:55:49 Curtis Hovey launchpad-registry: status Triaged In Progress
2010-01-25 05:20:25 Launchpad Janitor branch linked lp:~sinzui/launchpad/release-bugtask-bug-512182
2010-01-25 14:16:30 Curtis Hovey tags current-rollout-blocker
2010-01-25 14:27:09 Curtis Hovey tags current-rollout-blocker
2010-01-25 14:27:16 Curtis Hovey launchpad-registry: milestone 10.01 10.02
2010-01-25 18:19:49 Curtis Hovey launchpad-registry: milestone 10.02 10.01
2010-01-25 18:56:51 Curtis Hovey launchpad-registry: status In Progress Fix Committed
2010-01-28 01:47:43 Curtis Hovey launchpad-registry: status Fix Committed Fix Released
2017-05-15 13:45:15 Curtis Hovey launchpad: assignee Curtis Hovey (sinzui)