Public bug reported:
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
** Affects: mahara
Importance: High
Status: Confirmed
** Affects: mahara/16.04
Importance: High
Status: Confirmed
** Affects: mahara/16.10
Importance: High
Status: Confirmed
** Also affects: mahara/16.04
Importance: Undecided
Status: New
** Also affects: mahara/16.10
Importance: Undecided
Status: New
** Changed in: mahara/16.10
Milestone: None => 16.10.0
** Changed in: mahara/16.04
Milestone: None => 16.04.1
** Changed in: mahara/16.04
Status: New => Confirmed
** Changed in: mahara/16.10
Status: New => Confirmed
** Changed in: mahara/16.04
Importance: Undecided => High
** Changed in: mahara/16.10
Importance: Undecided => High
--
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:
Confirmed
Status in Mahara 16.04 series:
Confirmed
Status in Mahara 16.10 series:
Confirmed
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
_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp