← Back to team overview

mahara-contributors team mailing list archive

[Bug 1833301] Re: Problem with exporting text block with missing 'text'

 

Commit hash: d1e699487246ac3375d0dacd8c308e6cf9b66cb5
Environment tested: Master
Browser tested: Chrome
Theme used:  Raw

PRECONDITIONS: 
------------------------ 
1) Mahara users exists (User1 & User2)

TEST STEPS: 
------------------------ 
1) Log in as Mahara user 
2) Create a portfolio page with a text block on it but don't put any text into the block
3) Export the page as a Leap2A file 
4) Verify that there are no error messages ✔
5) Change users and import the leap2A file 
6) Verify there are no error messages ✔
7) edit the page and add some text to the block 
8) Verify there are no error messages ✔
9) View the displayed page 
10) Verify that the changes are displayed ✔
11) Verify there are no error messages ✔

Catalyst QA Approved ✔

NOTE: could not replicate the bug - There has been some changes in the
creation of blocks since this bug was created. Tested that there were no
error messages at any stage of the test steps.

-- 
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:
  In Progress

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