stable

Clone or download

Read-only

part of request #13467 Artifact allows empty required text fields when format is HTML and list fields

On artifact view or modal, a required text field can be submit without content if it is passed to html format. this patch should fix it. Change-Id: I0e26f1ac1bc65f231bc4eec16a754cc08a2e98a9

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_String.php +13 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Text.php +18 −0 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Changeset/Tracker_Artifact_Changeset_InitialChangesetFieldsValidatorTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Changeset/Tracker_Artifact_Changeset_NewChangesetFieldsValidatorTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_TextTest.php +39 −2 Go to diff View file
M tests/rest/_fixtures/01-private-member/project.xml +8 −0 Go to diff View file
M tests/rest/lib/ArtifactsTestExecutionHelper.php +12 −2 Go to diff View file
M tests/rest/tests/ArtifactsTest.php +26 −0 Go to diff View file