Page messages fail to indicate RESOLVED: when sending auto-ack notification

Description

The RESOLVED: prefix appears in the subject of the emails, but not in the body
and not in the pages. The pages are just a duplicate of the original down. I
suspect this is because RESOLVED: is prepended to the noticeid. People complain
when the pages are too wordy (Really, they do!), so I don't include the noticeid
in the message portion of the page, nor is the subject line included.

Environment

Operating System: MacOS X Platform: Macintosh

Acceptance / Success Criteria

None

Attachments

2
  • 26 Feb 2005, 05:00 PM
  • 26 Feb 2005, 04:19 PM

Lucidchart Diagrams

Activity

Mike Huot February 26, 2005 at 5:04 PM

Matt is applying the patch to the OPENNMS_1_2_BRANCH.

Mike Huot February 26, 2005 at 5:00 PM

Created an attachment (id=171)
OK, now this patch is buld against the branch OPENNMS_1_2_BRANCH

Mike Huot February 26, 2005 at 4:19 PM

Created an attachment (id=170)
THis has all the test written plus Bill's fix

Thanks Bill!

Bill Ayres February 23, 2005 at 9:13 PM

Here's a quick fix for this problem. In the file
src/services/org/opennms/netmgt/config/NotificationManager.java
in public void processRow, change the line:

parmMap.put(NotificationManager.PARAM_TEXT_MSG, rs.getObject("textMsg"));

to:

parmMap.put(NotificationManager.PARAM_TEXT_MSG, resolutionPrefix
+rs.getObject("textMsg"));

Former user February 23, 2005 at 12:15 PM

Here you go Mike. Let me know if you have an Qs

Matt

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created February 23, 2005 at 12:13 PM
Updated January 27, 2017 at 4:30 PM
Resolved February 26, 2005 at 6:04 PM

Flag notifications