]> 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:38 +0000 (17:05 -0400)
commitc9c113b0004c7c3c107d8ae2f20d0fc9d041670b
tree3c30bf5d9e11fc18684d96666f3e80a952b47c78
parent733156980c0f17c8fb24882f00e68b15c4528f01
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