stable

Clone or download

Read-only

request #10269 Adding artifact link with space does not take into account the type

If I add "1,2,3" with type custom, the three links are added as custom links If I add "1, 2, 3" with type custom, only 1 is added as custom, 2 and 3 are added without type This is due to comparison inside Tuleap new changeset code. $submitted_values['values'] for the artifact link field is like: array( 1 => custom ' 2' => custom ' 3' => custom ); and ' 2' is not equal to 2 .. Change-Id: Ic0bb7e219f8f2269b6e99f2a659ed14fe6232c41

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +1 −0 Go to diff View file