Add a button to a page allowing to download it in Leap2A format

Bug #1185188 reported by Kristina Hoeppner on 2013-05-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cecilia Vela Gurovic

Bug Description

Suggestion from Shane Nuessler:

It would be nice if a Mahara page could have a button for users to download the page as Leap2A file. This could be a setting in the "Allow copying" section and a second option to not only allow copying but copying as Leap2A.

Further thinking:
We could also think of implementing it differently if for example an institution requires the keeping of portfolio pages. So for example if a portfolio is submitted to a group, the tutor / admin sees the "Save as Leap2A" button before releasing the portfolio so they could make a copy to keep. That could be a manual option to what is proposed at where a copy could be kept automatically.

Aaron Wells (u-aaronw) wrote :

This functionality becomes a lot more useful once we implement , allowing a user to import LEAP2A content into their account.

Potentially, the copy page button (currently worked on) could be used for that. If a user doesn't have an account, they can download a Leap2A copy of the page / collection (see suggestion at bug #1376066).

Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
Changed in mahara:
status: Triaged → In Progress
Changed in mahara:
milestone: none → 18.04.0

Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1e54fdc41716e7c9c682002680bf34d6e4cdd070
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Nov 29 16:04:39 2017 +1300

Bug 1185188: not logged in user can download public personal portfolios

Allow page/collection download in leap2A format
through the Copy button of a page.
When copy option is allowed, the page/collection
is public, or shared via secret url, and is not
institution/group/site owned

Change-Id: I545b5d70450fb27b0011814fb55a9827bf4c1ff1

Robert Lyon (robertl-9) on 2017-12-28
Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
Niranjan (niranjan528) wrote :


1. Normal users ‘User one’ & ‘User two’ should exist.
2. Pages ‘Page 01’, ‘Page 02’ & ‘Page 03’ should exist and ‘User one‘ is the owner of these pages.
3. A collection exists with the title 'Collection one' and pages within the collection are 'Page 01' and 'Page 02'.

Steps to reproduce:

1. Log in as ‘User one’.
2. Navigate to Main menu > Portfolio > Pages and collections.
3. Click the 'More' icon and then the 'Edit' button for ‘Page 03’.
4. Click the ‘Share’ button.
5. Expand the ‘Advanced options’ panel.
6. Switch ‘Allow copying’ to ‘Yes’.
7. Share the page with ‘Public’ and click the ‘Save’ button.
8. Click the ‘Display page’ button and copy the URL of the page.
9. Log out as ‘User one’.
10· Open a new tab, paste the URL which is copied at step 8 and refresh the page.
11. Click the ‘Copy’ button.

Expected result: A zip file should be downloaded with a Leap2A file in it.

12. Log in as ‘User two’.
13. Navigate to Main menu > Portfolio > Import.
14. Choose the Zip file file from the computer that has been downloaded at step 11.
15. Click the ‘Import’ button.

Expected result: The portfolio should be imported successfully.

16. Log out as ‘User two’ and log in back as ‘User one’.
17. Similarly allow copying and share the page ‘Page 01’ from the collection ‘Collection one’ to public by following the steps 3 to 11.

Expected result: A zip file should be downloaded with a Leap2A file in it.

18. Log in as ‘User two’.
19. Navigate to Main menu > Portfolio > Import.
20. Choose the Leap2A file from the computer that has been downloaded at step 17.
21. Click the ‘Import’ button.

Expected result: The collection ‘Collection one’ should be imported successfully.

22. Navigate to Main menu > Portfolio > Pages and collections.

Expected result: The page 'Page 03' and the collection 'Collection one' should be available.

Robert Lyon (robertl-9) on 2018-04-05
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers