Importing leap2a textbox giving error when textbox is empty

Bug #1591759 reported by Robert Lyon on 2016-06-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Robert Lyon
16.04
Medium
Unassigned
16.10
Medium
Robert Lyon

Bug Description

When one imports a page containing an empty text box (ie, one that doesn't have anything set for 'config' it gives a warning

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

We just need to ignore fixing embedded links for a textbox that has no config

Reviewed: https://reviews.mahara.org/6594
Committed: https://git.mahara.org/mahara/mahara/commit/dbccc20aae3ce3171cbe59052cd3541d84df5222
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit dbccc20aae3ce3171cbe59052cd3541d84df5222
Author: Robert Lyon <email address hidden>
Date: Mon Jun 13 08:27:55 2016 +1200

Bug 1591759: Fixing importation of empty text box

Stopping it giving an 'undefined index' warning

behatnotneeded

Change-Id: Ie0e5acc7b9364dd9ba9c2d419c365e40230a8717
Signed-off-by: Robert Lyon <email address hidden>

Reviewed: https://reviews.mahara.org/6596
Committed: https://git.mahara.org/mahara/mahara/commit/e9db4fff27d40b77a2b3db684d415f9af36b98ea
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.04_STABLE

commit e9db4fff27d40b77a2b3db684d415f9af36b98ea
Author: Robert Lyon <email address hidden>
Date: Mon Jun 13 08:27:55 2016 +1200

Bug 1591759: Fixing importation of empty text box

Stopping it giving an 'undefined index' warning

behatnotneeded

Change-Id: Ie0e5acc7b9364dd9ba9c2d419c365e40230a8717
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit dbccc20aae3ce3171cbe59052cd3541d84df5222)

Robert Lyon (robertl-9) on 2016-10-21
Changed in mahara:
milestone: 16.10.0 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers