Reviewed:  https://reviews.mahara.org/6776
Committed: 
https://git.mahara.org/mahara/mahara/commit/99f9da4dae8e5d61ac55f5d261c7856f7e31c6cd
Submitter: Robert Lyon ([email protected])
Branch:    15.10_STABLE

commit 99f9da4dae8e5d61ac55f5d261c7856f7e31c6cd
Author: Aaron Wells <[email protected]>
Date:   Tue Jul 26 17:06:58 2016 +1200

Bug 1606432: Use safe_require to make sure PluginArtefact is loaded

Change-Id: I2e047be4ecad4594b9d27bb6d0058fa5971966ce
behatnotneeded: Test to come later
(cherry picked from commit d77fcb12d1327eb1d20c53460ef9433fd1da71b8)

-- 
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/1606432

Title:
  Fatal error trying to manually update a user's quota

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed
Status in Mahara 16.04 series:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  If you try to manually update a user's file quota setting, and you
  change it to a low enough value that it will send that user an "over
  the threshold" notification, Mahara crashes with this message:

   Fatal error:  Class 'PluginArtefact' not found in 
/home/aaronw/www/mahara/htdocs/artefact/file/lib.php on line 14
   Stack trace:, referer: 
http://vegas.wgtn.cat-it.co.nz/mahara/htdocs/admin/users/edit.php?id=2
     1. {main}() /home/aaronw/www/mahara/htdocs/admin/users/edit.php:0
     2. pieform() /home/aaronw/www/mahara/htdocs/admin/users/edit.php:265
     3. Pieform::process() /home/aaronw/www/mahara/htdocs/lib/mahara.php:4730
     4. Pieform->__construct() 
/home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:161
     5. call_user_func_array() 
/home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:540
     6. edituser_site_submit() 
/home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:540
     7. require_once() /home/aaronw/www/mahara/htdocs/admin/users/edit.php:402

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1606432/+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

Reply via email to