stable

Clone or download

Read-only

Direct link parent from artifact view (at creation) and modale is broken

This is part of story #18857 define any type of artifact as children Given that the auto switch of link has been removed (see 1b8c3c8de7f2f54b73e6bb670b553b69ef38469e), the direct linking to a parent from PV2 modale and artifact view at artifact creation does not work anymore. Change-Id: Ia93b9049ad25c4ba3f132a9c89ff5687265fd602

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +1 −0 Go to diff View file
M plugins/artifactsfolders/include/Folder/PostSaveNewChangesetCommand.php +2 −1 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactValuesRepresentation.class.php +10 −1 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Artifact.php +17 −8 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetCreatorBase.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php +16 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +4 −1 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/LinkToParentWithoutCurrentArtifactChangeException.php +27 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ParentLinkAction.php +73 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/PostSaveNewChangesetCommand.php +4 −2 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/PostSaveNewChangesetLinkParentArtifact.php +54 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/PostSaveNewChangesetQueue.php +5 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ProcessChildrenTriggersCommand.php +4 −1 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/RequestDataAugmentor.php +90 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.php +3 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.php +61 −59 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +4 −1 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/link-field/link-field-value-formatter.js +2 −2 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/link-field/link-field-value-formatter.test.js +2 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/link-field/link-field.tpl.html +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Tracker_ArtifactTest.php +3 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Tracker_Artifact_Changeset_NewChangesetCreatorTest.php +41 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/ParentLinkActionTest.php +206 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/PostSaveNewChangesetTest.php +24 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/ProcessChildrenTriggersCommandTest.php +5 −5 Go to diff View file
R plugins/tracker/tests/unit/Tracker/FormElement/Field/ArtifactLink/AugmentDataFromRequestTest.php Go to diff View file