Cover image file not copied for institution collection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic | ||
20.04 |
Fix Released
|
High
|
Unassigned | ||
20.10 |
Fix Released
|
High
|
Cecilia Vela Gurovic |
Bug Description
When you have a collection on the institution level and add a cover image, the file is not associated when you copy it into your personal account. The file still comes along, but is not placed into the 'Cover images' folder.
It nearly works fine for pages (see note below).
This also needs to be tested for copying of collections on all other levels (personal, site, group).
To replicate for institution collection:
1. As site or institution admin, create a collection with 1 page.
2. Upload a cover image to the collection.
3. Share the page and make it copyable.
4. Log in as another account holder.
5. Copy the collection.
6. View the collection on 'Pages and collections'.
Expected result: The collection's cover image is displayed.
Actual result: There is not cover image displayed.
**Please note: When the above steps are 'repeated' for a page, the page cover image does display on the 'Pages and collections' page, however, the file is NOT present in the 'Files' > 'Cover images' folder. It is instead placed in a sub-folder of the 'viewfiles' folder, this sub-sub-folder also contains any other files that were present for the copied page.
Changed in mahara: | |
assignee: | nobody → Rangi Daymond (rangid) |
description: | updated |
Changed in mahara: | |
assignee: | Rangi Daymond (rangid) → Cecilia Vela Gurovic (ceciliavg) |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
milestone: | 20.10.0 → none |
Patch for "master" branch: https:/ /reviews. mahara. org/11181