stable

Clone or download

Read-only

[refactoring] ArtifactLinkUpdater should use a ForwardLinkCollection and not primitives

part of story #24970 [modal] select type for links No functional changes: In artifact modal and in artifact view should should be able to add/remove or change nature of a link Change-Id: I95a2b24eb77a868d1a1205c444eb24bff6c5a3a4

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Artifact.php +15 −15 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/CollectionOfForwardLinks.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Link/ArtifactLinkFilter.php +15 −9 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Link/ArtifactLinker.php +5 −20 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Link/FilterArtifactLink.php +3 −2 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Link/ForwardLinkProxy.php +53 −0 Go to diff View file
M plugins/tracker/tests/unit/Stub/FilterArtifactLinkStub.php +6 −4 Go to diff View file
R plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/CollectionOfArtifactLinksTest.php Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Link/ArtifactLinkFilterTest.php +15 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Link/ArtifactLinkerTest.php +20 −7 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Link/ForwardLinkProxyTest.php +42 −0 Go to diff View file