Comment 10 for bug 1887317

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

Reviewed: https://reviews.mahara.org/11086
Committed: https://git.mahara.org/mahara/mahara/commit/6551ec53a7fedff7d64c5127229a347af46bd309
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.04_STABLE

commit 6551ec53a7fedff7d64c5127229a347af46bd309
Author: Cecilia Vela Gurovic <email address hidden>
Date: Mon Jul 13 13:02:27 2020 +1200

Bug 1887317: ignore warning from malformed xml in LoadXML

in 19.04 we added an upgrade step for
https://bugs.launchpad.net/mahara/+bug/1826948
to fix comments descriptions but it will throw
warning if the xml is malformed
the code will fix the xml anyway, but we should
prevent it to display the warnings as is they were
errors in the upgrade page

behatnotneeded

Change-Id: Iab6eed353a1b17876e3037b591633367d4d96d1a
(cherry picked from commit a3383fc2e89bfc8e4cc6e0aea6023b0e9e288955)