Deleting a user causes 500 error

Bug #1558864 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon

Bug Description

Whether we are deleting a single user or via bulk delete we get the error:

PHP Fatal error: Call to undefined function artefact_instance_from_id()

This is probably due to not including all plugins on all pages anymore

Revision history for this message
Robert Lyon (robertl-9) wrote :

Ok to test this:

1) Have a fresh site, where no pages a copied to an new user

2) Upload some users via csv file

3) As admin, try deleting them.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/6180

Changed in mahara:
milestone: none → 16.04.0
status: New → Confirmed
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

doesn't affect 15.10

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/6180
Committed: https://git.mahara.org/mahara/mahara/commit/292dd15bd398c52b1a22475a441e89ea0dcc4f45
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 292dd15bd398c52b1a22475a441e89ea0dcc4f45
Author: Robert Lyon <email address hidden>
Date: Fri Mar 18 14:23:28 2016 +1300

Bug 1558864: Need to require artefact/lib.php

When deleting users

Change-Id: Ie94c0e2d045b84dd5e7f227e2d571fdedc5eae5e
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.