stable

Clone or download

Read-only

`cannot_create_reasons` in tracker minimal representation take in

account the semanitc Title Part of story #28823 [modal] create artifact You can test the patch with GET /project/:id/trackers REST route in the API Explorer For now, only semantic Title is supported. Change-Id: I46ee6e4de5651547fc645be41a67f5e5062cfee2

Modified Files

Name
M plugins/tracker/include/REST/v1/ProjectTrackersResource.class.php +8 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/ArtifactCannotBeCreatedReasonsGetter.php +42 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/CreationSemanticToCheck.php +5 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Title/GetTitleSemantic.php +31 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_TitleFactory.class.php +3 −2 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +11 −0 Go to diff View file
M plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po +11 −0 Go to diff View file
A plugins/tracker/tests/unit/Builders/TrackerFormElementStringFieldBuilder.php +70 −0 Go to diff View file
A plugins/tracker/tests/unit/Stub/Semantic/GetTitleSemanticStub.php +50 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/REST/v1/TrackerRepresentationBuilderTest.php +3 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/ArtifactCannotBeCreatedReasonsGetterTest.php +60 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/CreationSemanticToCheckTest.php +7 −0 Go to diff View file