stable

Clone or download

Read-only

request #11788 Fatal error when an execution is not linked to a definition

How to test: - Manually create an execution artifact. Choose a campaign as its parent. DO NOT link it to a definition artifact. - GET, PATCH and PUT on this execution should all throw a code 400 - GET and PATCH testmanagement_campaigns/:id/testmanagement_executions should throw a code 400 with the problematic execution's id in the message Change-Id: I7e94ab2a8b3d2844e9026c6fdcf144e093ef9d62

Modified Files

Name
M include/TestManagement/Campaign/Execution/DefinitionForExecutionRetriever.php +5 −4 Go to diff View file
A include/TestManagement/Campaign/Execution/DefinitionNotFoundException.php +42 −0 Go to diff View file
M include/TestManagement/REST/v1/CampaignsResource.class.php +31 −18 Go to diff View file
M include/TestManagement/REST/v1/ExecutionRepresentationBuilder.php +13 −2 Go to diff View file
M include/TestManagement/REST/v1/ExecutionsResource.class.php +30 −14 Go to diff View file
M include/autoload.php +3 −2 Go to diff View file