Allow existing users to import LEAP2A content into their portfolio

Bug #1185209 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Son Nguyen

Bug Description

In a similar vein to https://bugs.launchpad.net/mahara/+bug/547987 (which allows users self-registering to upload a LEAP2A file), I think users with existing accounts should be able to import LEAP2A content into their portfolio. There are a few additional concerns related to this, so I'm opening a separate bug for it:

1. Profile information: For an existing user, you want to either ignore profile information in the LEAP2A, or provide an interface for them to selectively choose which bits of their existing profile to override

2. Duplicate content: When you're using LEAP2A to create accounts, you don't have to worry about duplicate Pages & Content, because there isn't any. But, when you're dealing with existing accounts, what do you do if someone imports the same LEAP2A file twice? The easy answer is, don't sweat it and just create duplicate pages, adding "Copy of" or the like if you need to.

(If we wanted to get fancy we could implement a sync system, but that could get trick, and it would require adding a "fingerprint" value to Pages when they get created, and including that in the LEAP2A, so that on import you can detect whether two Pages are different versions of each other.)

Revision history for this message
Aaron Wells (u-aaronw) wrote :
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Actually I guess the up to date version of the spec is here: http://www.leapspecs.org/2A/core-specification

Aaron Wells (u-aaronw)
Changed in mahara:
assignee: nobody → Son Nguyen (ngson2000)
Revision history for this message
Aaron Wells (u-aaronw) wrote :
Revision history for this message
Steven (stevens-q) wrote :

==== How to Test ====
1. create a couple portfolio pages with a text box that has attachements to it
2. Under portfilio tab click the export link in menu
3. select export format Leap2A and generate export - save to somewehre locally
4. log in as an admin and add user
5. Import the newly created Leap2A file using the creation method upload Leap2A -fill all other required fields
6. confirm that the new user has been created
7. confirm that all artifacts have been created
8. confirm that file attachments in text boxes are also created for the new user profile

=== Test Results ===
6. confirmed that the new user has been created
7. confirmed that all artifacts have been created
8. confirmed that file attachments in text boxes are also created for the new user profile

Note: the attach files to Resume was not working at the time of testing - functionality for the resume attachments being exported and imported cannot be confirmed

tags: added: nominatedfeature
Changed in mahara:
milestone: none → 1.8.0
status: Triaged → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.