stable

Clone or download

Read-only

Extract `Artifact::linkArtifact` method in a dedicated object

Part of story #24970 [modal] select type for links No functionnal change expected Change-Id: I7170b437be4deaa972e79f566a5e4c5dfdce899b

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Artifact.php +30 −83 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Link/ArtifactLinkFilter.php +55 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Link/ArtifactLinker.php +132 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Link/FilterArtifactLink.php +35 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/RetrieveUsedArtifactLinkFields.php +34 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.php +3 −3 Go to diff View file
A plugins/tracker/include/Tracker/RetrieveTracker.php +33 −0 Go to diff View file
M plugins/tracker/include/Tracker/TrackerFactory.class.php +3 −6 Go to diff View file
A plugins/tracker/tests/unit/Stub/FilterArtifactLinkStub.php +44 −0 Go to diff View file
A plugins/tracker/tests/unit/Stub/RetrieveTrackerStub.php +54 −0 Go to diff View file
A plugins/tracker/tests/unit/Stub/RetrieveUsedArtifactLinkFieldsStub.php +53 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Link/ArtifactLinkFilterTest.php +152 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Link/ArtifactLinkerTest.php +171 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/TrackerCreationDataCheckerTest.php +1 −1 Go to diff View file