stable

Clone or download

Read-only

Fix request #10084: Impossible to add a link to a User Story in a Task

Create a user story. Create a task. Edit the task, change only the artifact link field: add the link to the *parent* user story. Submit. The changes should not be rejected. The link between the story and the task is saved. Remaining issue: if you add a link task -> story whereas there is already a link story -> task, then the update is accepted, but you get no feedback (and no changes). Change-Id: Ibdbe91426ce25664cacdd26a9654ce73802549f4

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetAtGivenDateCreator.class.php +8 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreator.class.php +8 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php +70 −48 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/MailGateway/MailGateway.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +36 −19 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +16 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/SourceOfAssociationCollection.php +8 −2 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/SourceOfAssociationCollectionBuilder.php +73 −0 Go to diff View file
M plugins/tracker/include/Tracker/Migration/MigrationManager.php +16 −4 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +14 −2 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +11 −9 Go to diff View file