Fatal error trying to use an image in a forum topic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Aaron Wells |
Bug Description
I noticed this one while using 16.04dev.
To replicate:
1. Create a group
2. In the group, navigate to the default forum and post a topic
3. In the TinyMCE editor for the topic, use the image button.
4. The image button will pop up the TinyMCE image utility, with the Mahara uploader/selector. Use this to upload an image into your file storage and put the image into the TinyMCE text area.
5. Save the topic.
Expected result: The topic is saved, and you can see it with the image in place.
Actual result: Mahara loads a fatal error page with this error:
( ! ) Fatal error: Call to undefined function artefact_
Call Stack
# Time Memory Function Location
1 0.0006 326080 {main}( ) ../edittopic.php:0
2 0.0961 10553960 pieform( ) ../edittopic.
3 0.0984 10858176 Pieform::process( ) ../mahara.php:4438
4 0.0984 10860696 Pieform-
5 0.6325 11054376 call_user_
6 0.6325 11054720 addtopic_submit( ) ../pieform.php:540
7 0.6997 11082160 EmbeddedImage:
no longer affects: | mahara/16.04 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
I ran a quick test and verified that this problem is *not* present in 15.10.