Empty Notification search bug

Description

If you select "Notification" in the menu, and hit "Check notices" or "Get details" buttoms without putting a string for search it returns an empty page

Environment

Your demo environment

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Seth Leger December 8, 2014 at 4:45 PM

These two issues were fixed by validating the filter input and by reworking the notification details page so that it uses newer DAO code to search for notifications in the database. Marking as fixed.

commit 4fde703e1ccbc33aadf36367f7e8e6ad497255f3
commit d4e9d89758ae3c473648120628b235ba782f111f

Seth Leger December 8, 2014 at 11:39 AM

If you search for a notification ID that does't exist or was deleted, then you don't get an empty page but you do get a notification details page with no information on it.

If you search by an empty user in the "Check notices" form, then you get the following exception:

Arturo Martin November 22, 2013 at 11:01 AM

Hi Seth :

This actually happens even in the actual version (1.12.2 ?) in the opennms.org online demo; so I don't have access to that log, I guess you do

Saludos

Seth Leger November 21, 2013 at 10:54 PM

There is probably an exception in the web logs. Can you paste one here if you get the chance? It's not a big deal I guess since this sounds like it is so easy to reproduce.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created August 15, 2013 at 5:04 PM
Updated December 8, 2014 at 9:41 PM
Resolved December 8, 2014 at 4:45 PM