mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #39306
[Bug 1612451] Re: Artefact blog upgrade gives error for embedded image
** Changed in: mahara/15.04
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/1612451
Title:
Artefact blog upgrade gives error for embedded image
Status in Mahara:
Fix Committed
Status in Mahara 15.04 series:
Fix Released
Status in Mahara 15.10 series:
Fix Committed
Status in Mahara 16.04 series:
Fix Committed
Status in Mahara 16.10 series:
Fix Released
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
References