error when exporting an empty page

Bug #1871504 reported by Cecilia Vela Gurovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Cecilia Vela Gurovic

Bug Description

to replicate

- create a page and dont add any blocks to it
- go to Manage->Export and export all data

result:
there is a "Invalid argument supplied for foreach()" error displayed

Changed in mahara:
milestone: none → 20.04.0
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
importance: Undecided → Medium
status: New → Confirmed
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/10867

Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10867
Committed: https://git.mahara.org/mahara/mahara/commit/134f7cda69001a1804db0312c10a5a7bd80d8040
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 134f7cda69001a1804db0312c10a5a7bd80d8040
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Apr 8 10:23:03 2020 +1200

Bug 1871504: export-check variable is not empty before using in foreach

behatnotneeded

Change-Id: Ia1462ddd907bb6ca8967d86099658fe2dfdef152

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
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/10883

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

Reviewed: https://reviews.mahara.org/10883
Committed: https://git.mahara.org/mahara/mahara/commit/3440c81ff1b640ad23e40aa455da6bdd818c5936
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.04_STABLE

commit 3440c81ff1b640ad23e40aa455da6bdd818c5936
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Apr 8 10:23:03 2020 +1200

Bug 1871504: export-check variable is not empty before using in foreach

behatnotneeded

Change-Id: Ia1462ddd907bb6ca8967d86099658fe2dfdef152
(cherry picked from commit 134f7cda69001a1804db0312c10a5a7bd80d8040)

Changed in mahara:
status: Fix Committed → Fix Released
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.