stable

Clone or download

Read-only

Tracker shortname update should taken in account the limit of 25 characters

part of story #14291 Beautiful tracker creation Why this change: CrossTracker references are broken when tracker short name length is > to 25 characters. We do not want to permit broken references in new UI How to test: - Have an existing tracker with a length > 25 => you must able to update it, this limit is never applied - Have an existing tracker with a length < 25 characters => you must not be able to update it to an invalid length Change-Id: I5e794904f7cec91b7ac770056471517fd0d71062

Modified Files

Name
A plugins/tracker/include/Tracker/Admin/TrackerGeneralSettingsChecker.php +93 −0 Go to diff View file
A plugins/tracker/include/Tracker/Admin/TrackerIsInvalidException.php +99 −0 Go to diff View file
M plugins/tracker/include/Tracker/GeneralSettings_Presenter.class.php +11 −1 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +60 −68 Go to diff View file
A plugins/tracker/phpunit/Tracker/Admin/TrackerGeneralSettingsCheckerTest.php +289 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +32 −0 Go to diff View file
M plugins/tracker/templates/tracker-general-settings.mustache +8 −2 Go to diff View file
M src/common/reference/ReferenceManager.class.php +2 −2 Go to diff View file