stable

Clone or download

Read-only

request #9891 Artifact copy - fatal error throw when required fields are empty

When field is required, no fatal error should be thrown. For specific fields: - artifact link - multiselect - computed field When field is required and when we use "Copy" artifact it should not raise a fatal error: - artifact is created - we are redirected to the new artifact Change-Id: Ib990691e386d1da70305ae75a2d5c2ffc296b05b

Modified Files

Name
M plugins/tracker/include/Tracker/Action/CopyArtifact.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreator.class.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetFieldsWithoutRequiredValidationValidator.php +46 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +26 −1 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker/Action/CopyArtifactTest.php +2 −2 Go to diff View file