broken xml code in foreign source/imports is not being detected
Activity
Show:
Christian Pape April 4, 2019 at 6:07 AM
Please review & merge:
Fixed
Details
Details
Assignee
Christian Pape
Christian PapeReporter
Marcel Fuhrmann
Marcel FuhrmannLabels
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty Incident
PagerDuty

PagerDuty Incident
Created October 30, 2018 at 7:50 AM
Updated April 6, 2019 at 11:53 AM
Resolved April 6, 2019 at 11:53 AM
I found out that a missing
</model-import>
tag in a requisition won't hurt OpenNMS while starting. But when you open the requisition menu, you will get an error which can be obtained in the logs.
Also I had a similiar issue with an import definition file (detectors/policies). It didn't start with
<foreign-source ...
Instead of this there was just some text (due to a copy and paste failure). But it behaves identically to the described issue above.
Not sure if ONMS should not start with broken XML code in imports/foreignSource files, but the config tester tool should detect it.