Warnings when adding a 'Text' block into a page

Bug #1407761 reported by Son Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
In Progress
High
Son Nguyen

Bug Description

Version: master (15.04)
Platform: any
Browser: any

I got the following warnings when adding a 'Text' block into a page

 [WAR] ef (blocktype/text/lib.php:32) Undefined index: text
Call stack (most recent first):
log_message("Undefined index: text", 8, true, true, "/home/sonn/code/mahara/master/htdocs/blocktype/tex...", 32) at /home/sonn/code/mahara/master/htdocs/lib/errors.php:441
error(8, "Undefined index: text", "/home/sonn/code/mahara/master/htdocs/blocktype/tex...", 32, array(size 2)) at /home/sonn/code/mahara/master/htdocs/blocktype/text/lib.php:32
PluginBlocktypeText::get_artefacts(object(BlockInstance)) at Unknown:0
call_user_func_array(array(size 2), array(size 1)) at /home/sonn/code/mahara/master/htdocs/lib/mahara.php:1578
call_static_method("PluginBlocktypeText", "get_artefacts", object(BlockInstance)) at /home/sonn/code/mahara/master/htdocs/blocktype/lib.php:1059
BlockInstance->rebuild_artefact_list() at /home/sonn/code/mahara/master/htdocs/blocktype/lib.php:1040
BlockInstance->commit() at /home/sonn/code/mahara/master/htdocs/lib/view.php:2127
View->addblocktype(array(size 5)) at /home/sonn/code/mahara/master/htdocs/lib/view.php:1813
View->process_changes() at /home/sonn/code/mahara/master/htdocs/view/blocks.json.php:30

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

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

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.