Creating page failing due to PluginArtefact not being found

Bug #1450297 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon
15.04
Fix Released
High
Robert Lyon
15.10
Fix Released
Undecided
Unassigned

Bug Description

This problem was found when updating a client site:

 PHP Fatal error: Class 'PluginArtefact' not found

when trying to create a new page - was due to the wysiwyg pieform file trying to include artefact/file/lib.php in a non safe way

This can be avoided by using safe_require('artefact', 'file');

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

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/4719

Revision history for this message
Mahara Bot (dev-mahara) wrote :

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

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 15.10.0
status: New → In Progress
importance: Undecided → High
assignee: nobody → Robert Lyon (robertl-9)
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Hi Robert,

Can you please provide testing instructions for this? I can't replicate the original error.

Cheers,
Aaron

Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
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.