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)
Reviewed: https:/ /reviews. mahara. org/11086 /git.mahara. org/mahara/ mahara/ commit/ 6551ec53a7fedff 7d64c5127229a34 7af46bd309
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.04_STABLE
commit 6551ec53a7fedff 7d64c5127229a34 7af46bd309
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 /bugs.launchpad .net/mahara/ +bug/1826948
https:/
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: Iab6eed353a1b17 876e3037b591633 367d4d96d1a e4cc6e0aea6023b 0e9e288955)
(cherry picked from commit a3383fc2e89bfc8