stable

Clone or download

Read-only

feat: Do not throw an error if description changeset value is missing in definition

This closes request #28249 Do not throw an error 500 if description changeset value is missing in definition If for some reason a changeset value for hardcoded description field is missing in a test definition, this leads to an error 500 in the REST call and the testmanagement campaign content cannot be displayed. This situation must not lead to an error but be considered as an empty value instead. In user interface, these kind of error messages are not understandable and usefull for the user. So we do not display them anymore, only a generic error message is displayed. Change-Id: Ia0cd6769740e4111e12077f72210b5fabad4f64b

Modified Files

Name
M plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DefinitionRepresentationBuilder.php +10 −2 Go to diff View file
D plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DescriptionTextFieldNotFoundException.php +0 −34 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/po/fr_FR.po +2 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-list-controller.js +1 −7 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/REST/v1/DefinitionRepresentations/DefinitionRepresentationBuilderTest.php +5 −3 Go to diff View file