Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
15.0.0, 16.0.0, 17.0.0
-
Security Level: Default (Default Security Scheme)
-
None
Description
checkXmlFiles() in the opennms init script fails to pick up XML errors.
The fix for NMS-3411 (commit ffbbdc70f0fbcb9794511c33a4ac1118c3064604) introduced a bug where the output from xmllint was redirected to stderr and no longer makes it into the TEMPFILE. The subsequent "grep -c 'XML validation failed'" always returns 0, as the TEMPFILE is always empty.