stable

Clone or download

Read-only

refactor: add reverse link in business layer instead of REST

This removes the enclosing transaction. No functional changes. Part of request #36805: Kanban item not found when creating a card in Kanban Change-Id: Iafc3c3b4b100bd96342a1e3d79456f24fd7875fc

Modified Files

Name
M plugins/kanban/include/Kanban/REST/v1/KanbanItemsResource.php +2 −83 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ArtifactCreatorAdapter.php +2 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ArtifactCreatorAdapterTest.php +1 −0 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php +0 −7 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/ExecutionsResource.class.php +2 −56 Go to diff View file
M plugins/tracker/include/REST/Artifact/ArtifactCreator.php +39 −47 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +1 −54 Go to diff View file
M plugins/tracker/include/Tracker/Action/CreateArtifact.class.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Action/CreateArtifactFromModal.class.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Creation/TrackerArtifactCreator.class.php +111 −5 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/MailGateway/MailGateway.class.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ArtifactCreatorTest.php +389 −217 Go to diff View file
A plugins/tracker/tests/unit/Stub/Tracker/Artifact/Creation/AddReverseLinksStub.php +52 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/TrackerArtifactCreatorTest.php +103 −15 Go to diff View file