Page MenuHomePhabricator

When a task is removed from projects, remove its position on proxy columns for those projects
ClosedPublic

Authored by epriestley on Jun 5 2016, 11:01 PM.
Tags
None
Referenced Files
F15416785: D16052.id38625.diff
Thu, Mar 20, 1:25 PM
F15384067: D16052.diff
Fri, Mar 14, 6:41 PM
F15311274: D16052.id38624.diff
Thu, Mar 6, 9:56 AM
Unknown Object (File)
Fri, Feb 28, 5:06 AM
Unknown Object (File)
Tue, Feb 25, 1:19 AM
Unknown Object (File)
Feb 16 2025, 6:55 AM
Unknown Object (File)
Feb 14 2025, 10:23 PM
Unknown Object (File)
Feb 14 2025, 7:52 PM
Subscribers
None

Details

Summary

Fixes T11088. When a task is removed from a project, we don't normally delete its column positions. If you accidentally remove a project and then restore the project, it's nice for the task to stay where you put it.

However, we do need to remove its positions in proxy columns to avoid the issue in T11088.

Test Plan
  • Added a failing unit test, made it pass.
  • Added a task to "X > Milestone 1", loaded workboard, used "Edit Projects" to move it to "X" instead, loaded workboard.
    • Before, it stayed in the "Milestone 1" column.
    • After, it moves to the "Backlog" column.

Diff Detail

Repository
rP Phabricator
Branch
proj1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12495
Build 15838: Run Core Tests
Build 15837: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to When a task is removed from projects, remove its position on proxy columns for those projects.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 5 2016, 11:05 PM
This revision was automatically updated to reflect the committed changes.