Karma and bug activity missing when bugs are updated by creating a release

Bug #512182 reported by Curtis Hovey on 2010-01-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself

Bug Description

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)
                    object=bugtask, object_before_modification=original_bugtask,

Related branches

Curtis Hovey (sinzui) on 2010-01-25
description: updated
Curtis Hovey (sinzui) on 2010-01-25
Changed in launchpad-registry:
status: Triaged → In Progress
Curtis Hovey (sinzui) on 2010-01-25
tags: added: current-rollout-blocker
Curtis Hovey (sinzui) on 2010-01-25
tags: removed: current-rollout-blocker
Changed in launchpad-registry:
milestone: 10.01 → 10.02
Curtis Hovey (sinzui) on 2010-01-25
Changed in launchpad-registry:
milestone: 10.02 → 10.01
Curtis Hovey (sinzui) wrote :

Fixed in db-devel r8931.

Changed in launchpad-registry:
status: In Progress → Fix Committed
Curtis Hovey (sinzui) on 2010-01-28
Changed in launchpad-registry:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui) on 2017-05-15
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers