UI to configure Events allows to persist invalid configuration

Description

If you configure an event through the Web UI you can create an invalid configuration and save it to the system. For example create a varbind with a non valid 0 number. The system doesn't give any feedback the configuration doesn't work. The system runs with that invalid configuration until you restart OpenNMS. It will stop with an error in the output.log.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger June 8, 2016 at 3:39 PM

We need an example of the error in output.log to understand how the event is being validated.

Alejandro Galue May 25, 2016 at 1:57 PM

Also, the UI uses JaxbUtils to persist the changes, so that means, JaxbUtils is not making validations, or the XSD doesn't enforce those rules. If there is something we can do about it, please let me know.

Alejandro Galue May 25, 2016 at 1:56 PM

Could you please provide some screenshots, and maybe the "broken" file, to understand the problem, reproduce it and fix it ?

Details

Assignee

Reporter

Labels

Components

Priority

PagerDuty

Created December 1, 2015 at 11:39 AM
Updated September 21, 2021 at 6:23 PM