← Back to team overview

mahara-contributors team mailing list archive

[Bug 1833301] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10096
Committed: https://git.mahara.org/mahara/mahara/commit/d1e699487246ac3375d0dacd8c308e6cf9b66cb5
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit d1e699487246ac3375d0dacd8c308e6cf9b66cb5
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Wed Jun 19 08:44:49 2019 +1200

Bug 1833301: Handle export of text block with missing 'text' attribute

We will just treat this as an empty string

behatnotneeded

Change-Id: Ic8e22f4d56f8c22b635658bdf87ba0fd07497cc8
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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

Title:
  Problem with exporting text block with missing 'text'

Status in Mahara:
  Fix Committed

Bug description:
  When exporting a user with 'text' blocks and the 'text' configdata
  attribute is missing we get:


  [WAR] 8f (blocktype/text/lib.php:158) Undefined index: text
  Call stack (most recent first):

      error(8, "Undefined index: text",
  "/mahara/htdocs/blocktype/text/l...", 158, array(size 2)) at
  /mahara/htdocs/blocktype/text/lib.php:158

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


References