← Back to team overview

mahara-contributors team mailing list archive

[Bug 1425728] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4328
Committed: http://gitorious.org/mahara/mahara/commit/2b259a85cc9fb752a03bd6f6345ae4c32043e267
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 2b259a85cc9fb752a03bd6f6345ae4c32043e267
Author: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
Date:   Thu Feb 26 14:45:38 2015 +1300

Fix embedded images in 'Text' block when copy and import. Bug 1425728

- Add new method PluginBlocktype::rewrite_blockinstance_extra_config()
which enables blocktype to rewrite extra configuration when copying
block

- Implement rewrite_blockinstance_extra_config() for
PluginBlocktypeText to rewrite embedded image urls in the text block

- Rename the method rewrite_artefact_ids() to
rewrite_blockinstance_config() and add new code to allow blocktype
plugins rewrite extra config when import

- Add new method
PluginBlocktype::import_rewrite_blockinstance_extra_config_leap()

- Implement
PluginBlocktypeText::import_rewrite_blockinstance_extra_config_leap() to
rewrite embedded image urls in configdata['text']

Change-Id: Id5163817c676fb118edea02d152b7797111cb99f

-- 
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/1425728

Title:
  Embedded images in 'Text' block did not show after copying or
  importing

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Version: master (15.04)

  After copying a page with embedded images in 'Text' blocks, these
  images are copied and stored in 'Home/viewfiles' area but not show in
  the 'Text' block.

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


References