Behat testing data generator throws null on openbadgedisplayer

Bug #1886596 reported by Doris Tam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
20.04
Fix Released
Medium
Doris Tam
20.10
Fix Released
Medium
Doris Tam

Bug Description

Update needed in Testing Data Generator after update in code requires 'badgegroup' in the $configdata to must be an an array.(Currently is null at initialisation)

REPRODUCE
1. In the background steps of a test, add the openbadgedisplayer to a page
2. Navigate to the page where the Open Badges block was added
3. Leave the page to another page.

Expected result: No errors on new page
Current result: Errors about array indexes.

Tags: behat-dev
Doris Tam (doristam)
Changed in mahara:
assignee: nobody → Doris Tam (doristam)
assignee: Doris Tam (doristam) → nobody
status: New → Confirmed
assignee: nobody → Doris Tam (doristam)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11061
Committed: https://git.mahara.org/mahara/mahara/commit/d75208434470914157edb9a12f157de574c50016
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit d75208434470914157edb9a12f157de574c50016
Author: Doris Tam <email address hidden>
Date: Tue Jul 7 12:35:58 2020 +1200

Bug 1886596: Changed null to array() when initialise openbadgedisplayer in behat generator.

behatnotneeded

Change-Id: I7eb9cf6117763c79ce3480f23645daa5bbe104a5

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "20.04_STABLE" branch: https://reviews.mahara.org/11063

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11063
Committed: https://git.mahara.org/mahara/mahara/commit/8d5ed82e4a9490003df9b82f9108f36b7160e1eb
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 20.04_STABLE

commit 8d5ed82e4a9490003df9b82f9108f36b7160e1eb
Author: Doris Tam <email address hidden>
Date: Tue Jul 7 12:35:58 2020 +1200

Bug 1886596: Changed null to array() when initialise openbadgedisplayer in behat generator.

behatnotneeded

Change-Id: I7eb9cf6117763c79ce3480f23645daa5bbe104a5
(cherry picked from commit d75208434470914157edb9a12f157de574c50016)

Robert Lyon (robertl-9)
Changed in mahara:
milestone: 20.10.0 → none
no longer affects: mahara
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.