Alarm Details missing TroubleTicketState if state is 0

Description

When looking at the JSON details for an alarm, the TroubleTicketState field is omitted if the value is 0.  This is a valid value for OPEN tickets, and should not be suppressed.

Lucidchart Diagrams

Activity

Alberto September 7, 2022 at 2:25 PM
Edited

,

already resolved it, he did a release yesterday for it and other HELM issue.

BTW, Thanks so much for the details that was incredible helpful!

 

Jeff Gehlbach September 7, 2022 at 2:10 PM

Good catch. I'll create a linked issue in the JS project and pre-resolve it. 

and , I think Mark is right that we need to do a JS release this month, do you agree?

Mark Mahacek September 6, 2022 at 10:21 PM

Couple questions: Should this issue be moved to the OpenNMS.js project instead of staying in Helm? Does this mean that there needs to be a js release then a Helm release before a fix will be available to users?  Just wanting to verify what to communicate to users asking for when the fix will be available.

Alberto September 6, 2022 at 8:32 PM

Merged to develop (opennms-js)

Alberto September 6, 2022 at 6:06 PM

This ended up being an issue in opennms-js 

Created PR: https://github.com/OpenNMS/opennms-js/pull/400

This should handle any enums that use 0 as one of their index.

Fixed

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Sprint

FD#

HB Grooming Date

HB Backlog Status

Priority

PagerDuty

Created August 23, 2022 at 7:28 PM
Updated August 8, 2023 at 2:26 PM
Resolved September 6, 2022 at 8:32 PM

Flag notifications