Copying packages between series can close the wrong bugtask

Bug #319577 reported by Julian Edwards
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

An evolution package was uploaded to intrepid-proposed which fixes bug 285520. It correctly did not close the bug because it's targeted to the -proposed pocket.

Later, the package was copied to Jaunty which incorrectly caused the Intrepid bugtask to be closed.

This is because the code that closes bugs in scripts/processaccepted.py generates the bugtask's sourcepackage by calling SPR.sourcepackage. That code is assuming the series comes from the spr.upload_distroseries.

Instead, the series should come from the copied publication record and the bugtask sourcepackage should be generated with series.getSourcePackage()

Changed in soyuz:
importance: Undecided → Low
milestone: none → 2.2.2
status: New → Triaged
Changed in soyuz:
assignee: nobody → julian-edwards
milestone: 2.2.2 → 2.2.3
Changed in soyuz:
milestone: 2.2.3 → 2.2.4
Changed in soyuz:
milestone: 2.2.4 → none
Changed in launchpad:
assignee: Julian Edwards (julian-edwards) → nobody
William Grant (wgrant)
tags: added: package-copies
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.