stable

Clone or download

Read-only

Fix request #7455: Default values are not submitted a new artifact with SOAP

Web behaviour: if user can submit fields with default value but leaves them blank/ null, the fields are not set to default value. SOAP and REST: if user can submit fields with default values, the fields are set default values except if it is explicitely declared in SOAP call. Change-Id: Ifd6c959897dbd9bbc06447fc081e8ef8e1a2a788

Modified Files

Name
M plugins/tracker/include/REST/Artifact/ArtifactCreator.class.php +4 −4 Go to diff View file
M plugins/tracker/include/REST/Artifact/ArtifactValidator.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/SOAPServer.class.php +2 −0 Go to diff View file
M tests/rest/ArtifactFilesTest.php +1 −1 Go to diff View file