]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1845050: fix issue where reports interface was partially loaded
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 24 Sep 2019 17:48:08 +0000 (13:48 -0400)
committerJason Boyer <jboyer@equinoxinitiative.org>
Tue, 1 Oct 2019 21:05:29 +0000 (17:05 -0400)
commit24fd99b4e29cd34e79642441d5d908fb038d54cb
treeec4faee8a1d96446af9066491345dee1352263fa
parent57c5f0ba4a71d04d398d5e6398c753f6b853ea1b
LP#1845050: fix issue where reports interface was partially loaded

This patch adjusts mod_xmlent to not free its XML parser
prematurely in the face of an EOS bucket received while processing
a sub-request.

To test
-------
[1] Test on a platform that has Apache 2.4.25 or later, such as
    Debian Stretch.
[2] Note that when loading the reports interface that the source
    of the frame containing oils_rpt.xhtml is incomplete and that
    actions like creating a template or folder do not work in the
    interface.
[3] Apply the patch and repeat step 2. This time, oils_rpt.xhtml
    should be fully loaded and the interface fuctional.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
Open-ILS/src/apachemods/mod_xmlent.c