← Back to team overview

mahara-contributors team mailing list archive

[Bug 1464477] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4969
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/e0a9c65a30c927c05b24fa8cf598b49016ab0ac6
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    1.10_STABLE

commit e0a9c65a30c927c05b24fa8cf598b49016ab0ac6
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Wed Jul 15 15:29:01 2015 +1200

Don't skip on setting up pages in leap2a, just because there no
artefacts

Bug 1464477

Change-Id: I016d35f35406f4b1c7bcb298ae2966f1d37fed05
(cherry picked from commit e7779d203fc597c98d39ce055a6e67b9a490ac83)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1464477

Title:
  Leap2a import of "Just some of my collections" doesn't put the pages
  into the imported collection

Status in Mahara:
  Fix Committed
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  If you create a Leap2a export using the option "Just some of my
  collections", and then import it back into Mahara, the pages and
  collections get created, but the pages are not linked into the
  collection. Instead the pages are orphan pages and the collection is
  empty.

  I tested this from 1.8 to 15.10dev and found it present in all
  versions.

  To replicate:

  1. Create  three pages called "A", "B", and "C"
  2. Create a collection called "D"
  3. Put the three pages in the collection
  4. Go to Portfolio -> Export. Select "Leap2A" format, and select "Just some of my pages". Click "Generate Export". Download the resulting Leap2A file
  5. Either as the same user, or as a different user, go to Portfolio->Import
  6. Use the "Upload Leap2A file" button to pick the leap2a you just downloaded in step #4. Click "Import"
  7. Go to "Portfolio -> Collections" and "Portfolio -> Pages" and see what pages and collections you now have in your portfolio.

  Expected result: You should have a collection called "D" with pages "A", "B", and "C" in it.
  Actual result: You have an empty collection called "D", and three orphan pages called "A", "B", and "C"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1464477/+subscriptions


References