← Back to team overview

mahara-contributors team mailing list archive

[Bug 1402912] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4098
Committed: http://gitorious.org/mahara/mahara/commit/831642ca0f6816bfb0995f5533102224a57fda40
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 831642ca0f6816bfb0995f5533102224a57fda40
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Tue Dec 16 17:33:13 2014 +1300

Silence a "undefined index" error

Bug 1402912

Change-Id: I519a7ef9bb116baf6fe1186d2e5de681a1543e77

-- 
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/1402912

Title:
  Warning message when posting a new Text block

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Caused by Bug 1399054

  [WAR] f2 (blocktype/text/lib.php:32) Undefined index: text
  Call stack (most recent first):

      log_message("Undefined index: text", 8, true, true, "/home/aaronw/www/mahara/htdocs/blocktype/text/lib....", 32) at /home/aaronw/www/mahara/htdocs/lib/errors.php:439
      error(8, "Undefined index: text", "/home/aaronw/www/mahara/htdocs/blocktype/text/lib....", 32, array(size 2)) at /home/aaronw/www/mahara/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/aaronw/www/mahara/htdocs/lib/mahara.php:1578
      call_static_method("PluginBlocktypeText", "get_artefacts", object(BlockInstance)) at /home/aaronw/www/mahara/htdocs/blocktype/lib.php:1059
      BlockInstance->rebuild_artefact_list() at /home/aaronw/www/mahara/htdocs/blocktype/lib.php:1040
      BlockInstance->commit() at /home/aaronw/www/mahara/htdocs/lib/view.php:2127
      View->addblocktype(array(size 5)) at /home/aaronw/www/mahara/htdocs/lib/view.php:1813
      View->process_changes() at /home/aaronw/www/mahara/htdocs/view/blocks.json.php:30

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


References