** Changed in: mahara Status: Fix Committed => Fix Released -- 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/1640837
Title: Leap2A package content not fully imported Status in Mahara: Fix Released Bug description: This has been discovered while testing the new feature in Moodle 3.2 that allows you to export Workshop module submissions. See https://tracker.moodle.org/browse/MDL-56888 for details of the problem and what workaround was done in Moodle. Summary: It seems that Mahara expects an extra wrapping element around the content of the <content> item in leap2a.xml file. From the following leap2a package, only the first line "by Eric Cartman" is imported. The rest is not: <content type="xhtml"> <div xmlns="http://www.w3.org/1999/xhtml"> <div>by Eric Cartman</div> <div> <h1>This sucks</h1> <img src="portfolio:storedfile863" alt="cat" width="150" height="106" class="img-responsive atto_image_button_text-bottom" rel="enclosure"/> </div> </div> </content> If there is an extra wrapper added, the content is correctly imported: <content type="xhtml"> <div xmlns="http://www.w3.org/1999/xhtml"> <div> <div>by Eric Cartman</div> <div> <h1>This sucks</h1> <img src="portfolio:storedfile863" alt="cat" width="150" height="106" class="img-responsive atto_image_button_text-bottom" rel="enclosure"/> </div> </div> </div> </content> Interestingly, when previewing the content during the import (by clicking the title), it the content is displayed in the expandable area, even if it is not imported. I have not found any related info in the Leap2A spec and I assume this is a bug (or at least undocumented feature). This may or may not be related to #1229563 Tested with: Mahara 16.10.1testing (2016090208, git rev da3c2342b7) and Moodle 3.2-beta, both running on PostgreSQL 9.3.12 on Gentoo Linux. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1640837/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp