Comment 2 for bug 1844748

Revision history for this message
Rangi Daymond (rangid) wrote :

**Gerrit/Patchset: https://reviews.mahara.org/mahara refs/changes/65/10365/2
**Browser tested: Chrome
**Theme used: Default (Raw)

**DESCRIPTION/SUMMARY:
An error is generated when a user deletes a private (i.e. NOT public) comment that they made on a page shared with a group.

**PRECONDITIONS:
1. Logged in user1 is a member of group1 that they have shared a page with.
2. User2 is also a member of group1.

**TEST STEPS:
Step 1: Logged in user1 views the group page that they shared.
Step 2: User1 makes a private comment on the page
Step 3: User1 deletes the page comment
Expected result: the page is refreshed and the comment is gone.
Actual result: as expected ✔

Step 4: User1 makes a public comment on the page
Step 5: User2 views the page then makes their own private comment then deletes it successfully as expected ✔

Step 6: User2 makes a public comment
Step 7: User1 views the page then successfully deletes both public comments successfully as expected ✔