stable

Clone or download

Read-only

request #19233 Bad behaviour on cross references during deletion

How to reproduce: Before this patch: - On legacy cross-references (in SVN or document): - Have 1 reference_to and 1 reference_by cross-references - Delete one cross-reference |_ Other cross_reference is hidden - On cross-references in tracker: - Have 1 reference_to cross-references - Delete it |_ it's not hidden (need F5 to see the result) With this patch: You can delete xRef, it is deleted and hidden /!\ A bug was introduced in git #tuleap/stable/48bb59e8137c774be358d50f26fea068962274e8 => Variables "is_the_full_cross_references_section_empty" and "is_the_full_cross_references_section_non_empty" was inversed in "if" condition Change-Id: I00aa78ac43decc12056eae57a898fd7dcc232f9c

Modified Files

Name
M plugins/tracker/templates/form-element/reference/cross_reference.mustache +1 −1 Go to diff View file
M src/www/scripts/codendi/cross_references.js +39 −7 Go to diff View file