** 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.
https://bugs.launchpad.net/bugs/675730

Title:
  Embedded images not displayed in LEAP2A imported content

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  During testing Mahara repository plugin in Moodle 2.0, I discovered
  that images embedded into a Moodle forum post (that is then exported
  via LEAP2A into Mahara) are not displayed in the created Mahara blog
  post.

  If I export the post into leap2a.xml, the embedded image is exported
  into:

      <img src="portfolio:storedfile816" alt="" width="100"
  height="100" rel="enclosure"/>

  and then again in the 'attachments' section into:

      <img rel="enclosure" src="portfolio:storedfile816"/>

  the entry portfolio:storedfile816 and <link rel="related"
  href="portfolio:storedfile816"/> are created correctly.

  However, the import code in Mahara relies on the exact argument order
  in the <img> tag and therefore only the img in attachments section is
  converted correctly. See import/leap/lib.php, private function
  fix_artefact_reference, the $match pattern.

  To reproduce, your Moodle must be patched to fix MDL-23978.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/675730/+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

Reply via email to