stable

Clone or download

Read-only

request #14440 Testmanagement Bug tracker must not be required

This patch remove the required on issue tracker and allow null value on database Some testmanagement are not needed the bug trackers. Morever, since I44daa83a95e54bd1d51bb827537f6f94b234de23, existing testmanagement based on deleted trackers are broken. This patch add too most information about why it's broken. This patch allow too import and export of testmanagement without bug trackers. On UI, the issue tracker is not required and it can be possibly null. Change-Id: I92289902ddeeb60b8472ef3a3ed397c0c7ffdd1e

Modified Files

Name
M db/install.sql +1 −1 Go to diff View file
A db/mysql/updates/2020/202001291605_remove_required_from_issue_tracker.php +46 −0 Go to diff View file
M include/TestManagement/AdminController.class.php +76 −7 Go to diff View file
M include/TestManagement/AdminPresenter.class.php +1 −1 Go to diff View file
A include/TestManagement/Administration/InvalidTrackerIdProvidedException.php +27 −0 Go to diff View file
M include/TestManagement/Administration/TrackerChecker.php +9 −0 Go to diff View file
A include/TestManagement/Administration/TrackerDoesntExistException.php +29 −0 Go to diff View file
A include/TestManagement/Administration/TrackerIsDeletedException.php +29 −0 Go to diff View file
M include/TestManagement/Config.class.php +8 −4 Go to diff View file
M include/TestManagement/Dao.class.php +1 −1 Go to diff View file
M include/TestManagement/IndexPresenter.class.php +2 −2 Go to diff View file
M include/TestManagement/Router.class.php +12 −3 Go to diff View file
M include/TestManagement/Step/Definition/Field/StepDefinition.php +7 −0 Go to diff View file
M include/TestManagement/XML/Exporter.php +4 −1 Go to diff View file
M include/TestManagement/XML/XMLImport.php +9 −1 Go to diff View file
M include/testmanagementPlugin.php +2 −1 Go to diff View file
M phpunit/TestManagement/AdminControllerTest.php +46 −2 Go to diff View file
M phpunit/TestManagement/Administration/TrackerCheckerTest.php +74 −3 Go to diff View file
M phpunit/TestManagement/XML/ExporterTest.php +18 −0 Go to diff View file
M resources/testmanagement.rnc +1 −1 Go to diff View file
M resources/testmanagement.rng +5 −3 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-testmanagement.po +8 −0 Go to diff View file
M templates/admin.mustache +12 −8 Go to diff View file