HomePhabricator

Implement subproject/milestone conflict resolution rules

Description

Implement subproject/milestone conflict resolution rules

Summary:
Ref T10010. When you try to add "Sprint 35" to a task, remove "Sprint 34", etc. Briefly:

  • A task can't be in Sprint 3 and Sprint 4.
  • A task can't be in "A" and "A > B" (but "A > B" and "A > C" are fine).
  • When a user makes an edit which would violate one of these rules, preserve the last tag in each group of conflicts.

Test Plan:

  • Added fairly comprehensive tests.
  • Added a bunch of different tags to things, saw them properly exclude conflicting tags.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10010

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

Details

Provenance
epriestleyAuthored on Feb 2 2016, 8:54 PM
epriestleyPushed on Feb 2 2016, 9:12 PM
Reviewer
chad
Differential Revision
D15167: Implement subproject/milestone conflict resolution rules
Parents
rP5263c5bea4a0: Fix setting of default project tab
Branches
Unknown
Tags
Unknown
Tasks
T10010: Implement Subprojects
Build Status
Buildable 10461
Build 12789: Run Core Tests