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
F14736741: D16052.id38624.diff
Sun, Jan 19, 12:11 AM
Unknown Object (File)
Fri, Jan 17, 8:54 PM
Unknown Object (File)
Fri, Jan 17, 5:46 PM
Unknown Object (File)
Sun, Dec 29, 10:14 PM
Unknown Object (File)
Fri, Dec 20, 9:13 AM
Unknown Object (File)
Dec 10 2024, 1:52 PM
Unknown Object (File)
Dec 7 2024, 2:11 PM
Unknown Object (File)
Dec 4 2024, 1:53 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.