mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #38825
[Bug 1578000] Re: "Call to undefined function artefact_instance_from_id()" when deleting a profile icon
** Changed in: mahara
Milestone: 16.10.0 => None
--
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/1578000
Title:
"Call to undefined function artefact_instance_from_id()" when deleting
a profile icon
Status in Mahara:
Fix Released
Status in Mahara 16.04 series:
Fix Released
Status in Mahara 16.10 series:
Fix Released
Bug description:
To replicate:
1. Upload a profile icon
2. On the "Content -> Profile pictures" page, tick the box next to the uploaded profile icon.
3. Press the "delete" button
Expected result: icon is deleted
Actual result: Fatal crash with this error:
( ! ) Fatal error: Call to undefined function artefact_instance_from_id() in /home/aaronw/www/mahara/htdocs/artefact/file/profileicons.php on line 317
Call Stack
# Time Memory Function Location
1 0.0098 315720 {main}( ) ../profileicons.php:0
2 0.1018 10206368 pieform_instance( ??? ) ../profileicons.php:36
3 0.1034 10512720 Pieform->__construct( ??? ) ../mahara.php:4484
4 0.1075 10745944 settings_submit_delete( ???, ??? ) ../pieform.php:528
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1578000/+subscriptions
References