Patch for "master" branch: https://reviews.mahara.org/6830
-- 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/1612451 Title: Artefact blog upgrade gives error for embedded image Status in Mahara: In Progress Status in Mahara 15.04 series: New Status in Mahara 15.10 series: New Status in Mahara 16.04 series: New Status in Mahara 16.10 series: In Progress Bug description: This error: Artefact with id 6 not found Call stack (most recent first): artefact_instance_from_id("6") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/embeddedimage.php:79 EmbeddedImage::prepare_embedded_images(" <p>This is a test</p> <p><img width="155" heig...", "blogpost", "7", null, "1") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/blog/db/upgrade.php:76 Occurs when a Journal post (blogpost) has an embedded image <img> tag in it but the underlying image itself has been deleted. We need to adjust EmbeddedImage::prepare_embedded_images() to check that the underlying image artefact still exists To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1612451/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

