Adding comment to journal entry shows wrong poster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
17.10 |
Fix Released
|
High
|
Unassigned | ||
18.04 |
Fix Released
|
High
|
Unassigned | ||
18.10 |
Fix Released
|
High
|
Unassigned | ||
19.04 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
When adding a comment to a journal entry artefact via a page we see the piece of information:
Posted by [owner] on [date]
This information is correct when doing this for a user's journal but the information is not correct if the journal is a group / institution journal. In these cases we see:
Posted by [viewer of page] on [date]
Steps to replicate:
1) Login as UserA and create a group, GroupA
2) Create a journal in the group and add a journal entry to it
3) Add a page in GroupA and add the journal block to it and choose the group journal
4) Share the group page with registered users
5) Logout
6) Login as UserB and visit the page
7) Click on the 'Add comment' link for the journal block
The "Posted by..." line will say UserB instead of UserA
Changed in mahara: | |
milestone: | none → 19.04.0 |
Patch for "master" branch: https:/ /reviews. mahara. org/9573