stable

Clone or download

Read-only

Process the xml tracker creation

part of story #14291 Beautiful tracker creation How to test: - create a tracker with a valid xml => tracker is created, you are redirected in its administration section - create a tracker and provide an xml with error => the xml error page is displayed => I did not touch css, it's displayed in the BP <pre> default style => user have to go back and create its tracker from scratch if he want to try it again - create a tracker with an existing short name => error is displayed => use is redirected on the first step of tracker creation Please also check that error retrievement/display is not broken: - In legacy UI, if you cretae an invalid tracker you still should have the intermediate page - In xml import enabled log display with export DISPLAY_ERRORS=true => then if xml has error they are displayed in console Change-Id: I29473a700754789ba911a73c9519ee7ab781d4fa

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/TrackerCreationProcessorController.php +32 −26 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreator.php +8 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreatorXmlErrorDisplayer.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/TrackerIsInvalidException.php +7 −0 Go to diff View file
M plugins/tracker/include/Tracker/TrackerManager.class.php +18 −8 Go to diff View file
M plugins/tracker/include/TrackerXmlImport.class.php +68 −56 Go to diff View file
M plugins/tracker/phpunit/Tracker/TrackerXmlImportTest.php +83 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +3 −0 Go to diff View file