stable

Clone or download

Read-only

User should be able to submit REST fields in post /projects

part of story #8283 Enhance project creation user experience Howto test: create a project with required fields in your route options. => fields are created with values In order to keep the changes small, I do not check if fields are required for creation yet. I'll do it in a dedicated patch. Change-Id: Ie45c374e15b1f9fdce5ec6db1ceae523e07b4dcb

Modified Files

Name
M src/common/Project/Admin/DescriptionFields/FieldUpdator.php +28 −8 Go to diff View file
A src/common/Project/REST/v1/FieldsPostRepresentation.php +48 −0 Go to diff View file
M src/common/Project/REST/v1/ProjectPostRepresentation.php +5 −0 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +10 −0 Go to diff View file
M src/common/Project/REST/v1/RestProjectCreator.php +24 −1 Go to diff View file
M tests/phpunit/common/Project/Admin/DescriptionFields/FieldUpdatorTest.php +48 −0 Go to diff View file
M tests/phpunit/common/Project/REST/v1/RestProjectCreatorTest.php +8 −0 Go to diff View file