Fatal error trying to copy a page with "journal" block
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Aaron Wells |
Bug Description
This is another bug caused by the performance patch that auto-loaded htdocs/
To replicate:
1. Create a journal with a journal entry.
2. Put a "journal" block in a page, with that journal selected.
3. Set the journal block's copying settings to "They get a copy of my journal"
4. Make the page copyable by other users and share it with other users
5. Log in as another user
6. Try to copy that page
Expected result: You get a copy of the page
Actual result: You see a fatal error.
( ! ) Fatal error: Call to undefined function artefact_
Call Stack
# Time Memory Function Location
1 0.0001 252504 {main}( ) ../copy.php:0
2 0.1121 11227224 copyview( ) ../copy.php:32
3 0.1284 11232920 View::create_
4 0.1751 11977176 View->copy_
5 0.1820 12520360 BlockInstance-
tags: | added: regression |
no longer affects: | mahara/16.04 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/6140