Retarget a pillar can leave a series task

Bug #884213 reported by Curtis Hovey
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

I targeted to a series (Lp still lets me target to an obsolete series)
I then retargeted the Lp pillar task to my own project (gdp).
    * I saw a task for my project
    * I saw a phantom task for Lp
    * I saw the series task
I then retargeted the gdp pillar task back to Lp
I deleted the series task...I hail task deletion.

Tags: bugs lp-bugs
Revision history for this message
Curtis Hovey (sinzui) wrote :

Lp currently lets me retarget the pillar of a private bug with tasks for the pillar and a series. After the retarget, the pillar task points to the new pillar, but the series task continues to point to the old pillars series. This is insane.

Revision history for this message
William Grant (wgrant) wrote :

I believe this is already fixed. The one-pillar-to-rule-them-all check was added to validate_target, which I ensured was called on target transitions.

Revision history for this message
Curtis Hovey (sinzui) wrote :

I wrote my comment after I retargeted a pillar on qastaging.

https://bugs.qastaging.launchpad.net/launchpad/+bug/420292
I targeted to a series (Lp still lets me target to an obsolete series)
I then retargeted the Lp pillar task to my own project (gdp).
    * I saw a task for my project
    * I saw a phantom task for Lp
    * I saw the series task
I then retargeted the gdp pillar task back to Lp
I deleted the series task...I hail task deletion.

Revision history for this message
William Grant (wgrant) wrote :

Multipillar bugs are on by default on qastaging.

Revision history for this message
Curtis Hovey (sinzui) wrote :

The phantom task indicates something is still wrong. I expect the series task to be deleted during the retarget since the orphaned task is wrong for *current* bugtarget model. this might be a separate bug. I suspect there is a separate undiscovered bug. I can move series between projects when I am reorganising a project, when I do that, I expect the bugs to affect the target project and the series. I believe I would see the old project bugtask. This is one more case where I wish we where I wish we were working on Roberts series-only-bugs feature.

Curtis Hovey (sinzui)
summary: - Prevent retargeting of private pillar tasks when there are series tasks
+ Retarget a pillar can leave a series task
description: updated
Curtis Hovey (sinzui)
tags: added: lp-bugs
removed: disclosure privacy
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.