stable

Clone or download

Read-only

POST projects fields should validate user input

part of story #8283 Enhance project creation user experience How to test: Create project without some required field => rest route does not allow it Create project with some unknown field ids => rest route does not allow it Change-Id: I82d0d958e3f7866c78fc1dad287032dc88fd929a

Modified Files

Name
A src/common/Project/Admin/DescriptionFields/FieldDoesNotExistException.php +29 −0 Go to diff View file
M src/common/Project/Admin/DescriptionFields/FieldUpdator.php +53 −0 Go to diff View file
A src/common/Project/Admin/DescriptionFields/MissingMandatoryFieldException.php +29 −0 Go to diff View file
M src/common/Project/REST/v1/RestProjectCreator.php +7 −0 Go to diff View file
M tests/phpunit/common/Project/Admin/DescriptionFields/FieldUpdatorTest.php +44 −0 Go to diff View file
M tests/phpunit/common/Project/REST/v1/RestProjectCreatorTest.php +28 −0 Go to diff View file