stable

Clone or download

Read-only

Prevent baseline deletion when associated to saved comparison(s)

Part of epic #12142 Baseline v1 Change-Id: I26d2e3cdbc035d821003920a5accc8025739d414

Modified Files

Name
M include/Adapter/ComparisonRepositoryAdapter.php +12 −0 Go to diff View file
A include/Domain/BaselineDeletionException.php +52 −0 Go to diff View file
M include/Domain/BaselineService.php +14 −3 Go to diff View file
M include/Domain/ComparisonRepository.php +2 −0 Go to diff View file
M include/REST/BaselineController.php +19 −0 Go to diff View file
M include/REST/BaselinesResource.php +1 −0 Go to diff View file
M phpunit/Domain/BaselineServiceTest.php +10 −3 Go to diff View file
M phpunit/REST/BaselineControllerIntTest.php +16 −0 Go to diff View file
M phpunit/Stub/ComparisonRepositoryStub.php +14 −0 Go to diff View file
M scripts/baseline/components/baselines-list/DeleteBaselineConfirmationModal.vue +2 −2 Go to diff View file
M scripts/baseline/components/common/DeleteConfirmationModal.spec.js +1 −1 Go to diff View file
M scripts/baseline/components/common/DeleteConfirmationModal.vue +12 −4 Go to diff View file
M scripts/baseline/components/comparisons-list/DeleteComparisonConfirmationModal.vue +2 −2 Go to diff View file
A scripts/baseline/support/rest-utils.js +35 −0 Go to diff View file
A scripts/baseline/support/rest-utils.spec.js +71 −0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-baseline.po +12 −0 Go to diff View file