← Back to team overview

mahara-contributors team mailing list archive

[Bug 1407761] A patch has been submitted for review

 

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1407761

Title:
  Warnings when adding a 'Text' block into a page

Status in Mahara ePortfolio:
  In Progress

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1407761/+subscriptions


References