File attachments aren't copied when note is copied
Bug #1390833 reported by
Kristina Hoeppner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Son Nguyen | ||
1.10 |
Fix Released
|
Medium
|
Son Nguyen | ||
1.8 |
Fix Released
|
Medium
|
Unassigned | ||
1.9 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
reported by Stephen Bright on MyPortfolio:
When you have a note (text box up to 1.10), file attachments are not copied when somebody else copies the page that contains the note. When you yourself copy it, the attachment is retained, but not when somebody else copies it.
To reproduce:
1. Add a note to your page.
2. Add an attachment to the note.
3. Share the page with someone else and make it copyable.
4. Log in as that other person and copy the page.
5. The attachment is not on the page anymore.
Changed in mahara: | |
importance: | Undecided → High |
Changed in mahara: | |
assignee: | nobody → Son Nguyen (ngson2000) |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What I suspect the problem here is:
When you copy your page the system checks to see if you have access to the artefact (which you do as they are your artefacts) and if so adds it as an attachement to the new page's note artefact.
But when another user copies the page the it checks the artefacts and says they don't have access to the artefact so doens't copy/add them to the new page's note artefact.
What I think will need to be done is to check the permission of the artefact in relation to original note block and page it was on.