Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Explicitly use Xalan as transformer
......................................................................
restapi: Explicitly use Xalan as transformer
Currently the FOP message body writer used to generate PDF document
doesn't explicitly request a particular implementation of the XSLT
processor. When running in the WildFly application server this results
in an exception because an unresolved issue:
Xalan Linkage error : TransformerConfigurationException
https://issues.jboss.org/browse/WFCORE-519
To avoid that issue this patch changes the FOP message body writer so
that it explicitly requests the Xalan processor included in the
"org.apache.xalan" module.
Change-Id: I1c8cca9cc83e29a98d026c3226ab0f11c40660d3
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/pdf/FOPMessageBodyWriter.java
M
backend/manager/modules/restapi/jaxrs/src/main/modules/org/ovirt/engine/api/restapi-jaxrs/main/module.xml
2 files changed, 22 insertions(+), 2 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
Daniel Erez: Verified; Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/43033
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1c8cca9cc83e29a98d026c3226ab0f11c40660d3
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org