stable

Clone or download

Read-only

Tracker creation size limit must be applied backend size

part of story #14291 Beautiful tracker creation How to reproduce: Forge html and change maxlength to 50 Try to create a new tracker with a too long name => An error should be displayed This limit is not verified in project creation (template duplication) and in XML import context. Why? - when project templates are invalid, we still want to be able to create new project => this can cause #regression and our customer might be not happy why a sudden changes in tracker name length - when a customer export a project as xml our support team must be able to create the data again Change-Id: Ic99801f130396f306470058ea745f79cf8e48465

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/TrackerCreationDataChecker.php +11 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreator.php +1 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/Creation/TrackerCreationDataCheckerTest.php +11 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/Creation/TrackerCreatorTest.php +2 −0 Go to diff View file