Homec4science

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

Authored by epriestley <git@epriestley.com> on Jun 6 2016, 00:57.

Description

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

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11088

Differential Revision: https://secure.phabricator.com/D16052

Details

Committed
epriestley <git@epriestley.com>Jun 6 2016, 01:06
Pushed
aubortJan 31 2017, 17:16
Parents
rPHb4a07d528fdf: Allow users to unset "Editor", tailor short error messages properly on settings…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf97d120c3fe6: When a task is removed from projects, remove its position on proxy columns for… (authored by epriestley <git@epriestley.com>).Jun 6 2016, 01:06