stable

Clone or download

Read-only

refactor: Type is not nullable anymore in Forward/Reverse links

No functional change expected in Artifact links. `null` type brought more confusion. It is now never nullable. `NULL` might be stored in database, it is defaulted to the "no type" empty string constant. part of story #24970 [modal] select type for links Change-Id: Id3ad64d901972b047f22eb28ad7e9d57b86df044

Modified Files

Name
M plugins/tracker/include/REST/Artifact/ChangesetValue/ArtifactLink/RESTForwardLinkProxy.php +2 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/CollectionOfForwardLinks.php +0 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/ForwardLink.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/ReverseLink.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/StoredForwardLink.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/StoredReverseLink.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Link/ForwardLinkProxy.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Stub/ForwardLinkStub.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Stub/ReverseLinkStub.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/CollectionOfForwardLinksTest.php +3 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkChangesetValueFormatterTest.php +9 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkInitialChangesetValueFormatterTest.php +11 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/StoredForwardLinkTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/StoredReverseLinkTest.php +27 −19 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ChangesetValuesContainerTest.php +4 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/InitialChangesetValuesContainerTest.php +4 −1 Go to diff View file