Public bug reported:
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
** Affects: mahara
Importance: High
Assignee: Robert Lyon (robertl-9)
Status: In Progress
** Affects: mahara/15.04
Importance: High
Status: New
** Affects: mahara/15.10
Importance: High
Status: New
** Affects: mahara/16.04
Importance: High
Status: New
** Affects: mahara/16.10
Importance: High
Assignee: Robert Lyon (robertl-9)
Status: In Progress
** Also affects: mahara/16.10
Importance: High
Assignee: Robert Lyon (robertl-9)
Status: In Progress
** Also affects: mahara/16.04
Importance: Undecided
Status: New
** Also affects: mahara/15.04
Importance: Undecided
Status: New
** Also affects: mahara/15.10
Importance: Undecided
Status: New
** Changed in: mahara/16.04
Importance: Undecided => High
** Changed in: mahara/15.10
Importance: Undecided => High
** Changed in: mahara/15.04
Importance: Undecided => High
** Changed in: mahara/16.04
Milestone: None => 16.04.4
** Changed in: mahara/15.10
Milestone: None => 15.04.10
** Changed in: mahara/15.10
Milestone: 15.04.10 => 15.10.6
** Changed in: mahara/15.04
Milestone: None => 15.04.10
--
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