White screen when copying collection / page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
16.04 |
Fix Released
|
Medium
|
Robert Lyon | ||
16.10 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When attempting to copy a collection or page on 16.04RC1, a white screen appears and the following error is reported to the logs:
[12-Apr-2016 13:22:03] PHP Fatal error: Call to undefined function
artefact_
on line 1548
[12-Apr-2016 13:22:03] PHP Stack trace:
[12-Apr-2016 13:22:03] PHP 1. {main}()
/home/darren/
[12-Apr-2016 13:22:03] PHP 2. pieform()
/home/darren/
[12-Apr-2016 13:22:03] PHP 3. Pieform::process()
/home/darren/
[12-Apr-2016 13:22:03] PHP 4. Pieform-
/home/darren/
[12-Apr-2016 13:22:03] PHP 5. call_user_
/home/darren/
[12-Apr-2016 13:22:03] PHP 6. createview_submit()
/home/darren/
[12-Apr-2016 13:22:03] PHP 7. Collection:
/home/darren/
[12-Apr-2016 13:22:03] PHP 8. View::create_
/home/darren/
[12-Apr-2016 13:22:03] PHP 9. View->copy_
/home/darren/
[12-Apr-2016 13:22:03] PHP 10. BlockInstance-
/home/darren/
This appears to be due to the artefact_
Adding require_
Diff attached.
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Robert, can you please take a look? I can't replicate it neither with regular URLs nor clean URLs.
Darren: Do you have any more testing information?