mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #68120
[Bug 1999477] Re: Import feature not working
*** This bug is a duplicate of bug 1999608 ***
https://bugs.launchpad.net/bugs/1999608
Thank you for pointing out! I will have a look. Thank you!
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1999477
Title:
Import feature not working
Status in Mahara:
New
Bug description:
Mahara version tested on: 22.10
Browsers tested on:
1. Mozilla Firefox v107.0.1 (64 bit) on MacOS Monterey
2. Google Chrome v108.0.5359.72 (Official Build, 64 bit) on Windows 10 Enterprise
Details:
The import feature in Mahara (Main menu -> Manage -> Import) does not function as expected. The errors faced are different based on how the export file was generated. This bug has been tested by importing/exporting into the same account as well as exporting from one and importing into a different account. Mahara Demo instance also contains this bug.
Steps to replicate Error 1:
- Navigate to Main menu -> Manage -> Export in Mahara.
- Keep the selection as "All my data" and click Generate export.
*** The export process completes with an error message "Export generated with some errors" ***
- An export file (.zip) is downloaded on the device. Unzip this file.
- Navigate to Main menu -> Manage -> Import in Mahara.
- Upload the "leap2A.xml" file from the unzipped export file and click Import.
*** An error message is displayed on the page. "A nonrecoverable error occurred." ***
Steps to replicate Error 2:
- Navigate to Main menu -> Manage -> Export in Mahara.
- Change the selection to "Just some of my pages" and choose some pages to be exported.
- Click Generate export.
*** The export process finishes with the message "Export generated successfully." ***
- An export file (.zip) is downloaded on the device. Unzip this file.
- Navigate to Main menu -> Manage -> Import in Mahara.
- Upload the "leap2A.xml" file from the unzipped export file and click Import.
- A page to configure how the imported items get merged is shown.
*** Note that the pages from the export file are not identified as pages but are instead shown as journal entries ***
- Keeping all the selections default, click Import. A page indicating successful import is shown.
*** The imported pages are not visible under the Portfolios section of the account ***
*** Upon navigating to the Journals section, a new journal named "Data imported from Mahara Leap2A Export for /username/, /timestamp/" is found.
*** Pages that were selected during the export are imported as journal entries as well as blocks on those pages are saved as distinct journal entries. ***
Expectation:
Exported pages are imported as new pages with correct data and can be located in an account's Portfolios section.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1999477/+subscriptions
References