stable

Clone or download

Read-only

Empty followups are not displayed in Artifact View

This is part of story #19275 restrict who can see comments How to test: - Have some follow-ups - with comments not private - With private comment and changes - with only changes - with only private comments - with private comments and changes on field that user can't see Expected results: - User sees follow-ups with changes and comment that it can see - There are no empty follow-ups Change-Id: Id121f299e72cf500cd9ea8f612ce08b212688de0

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php +28 −14 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Comment.class.php +8 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Followup_Item.class.php +13 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_PriorityHistoryChange.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/View/Edit.class.php +4 −7 Go to diff View file
A plugins/tracker/tests/e2e/cypress/_fixtures/empty_followup/project.xml +175 −0 Go to diff View file
A plugins/tracker/tests/e2e/cypress/_fixtures/empty_followup/users.xml +36 −0 Go to diff View file
A plugins/tracker/tests/e2e/cypress/cypress/integration/emty_followup.spec.ts +120 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker_Artifact_ChangesetTest.php +104 −16 Go to diff View file