Missing Link to Delete Surveillance Categories

Description

If you go to Admin > Manage Surveillance Categories then select the "trash can" icon to delete a particular category it does nothing because the link is missing to execute the delete. This changed after upgraded from 1.8.17 to 1.10.0.

Environment

1.10, Chome/Firefox/Safari

Acceptance / Success Criteria

None

Attachments

1
  • 05 Apr 2012, 09:19 PM

Lucidchart Diagrams

Activity

Show:

peppi December 5, 2012 at 4:14 AM

I have the same failure after updating from 1.10.1 to 1.10.7

Steve Anderson November 19, 2012 at 4:42 PM

I'm also having this same issue. Currently searching for a way to remove these categories without using the web interface for now.

Hjörleifur Sveinbjörnsson October 29, 2012 at 2:23 PM

I have this issue right now. I had version 1.10.5 and upgraded via yum using opennms-stable-rhel6.repo which points to http://yum.opennms.org/stable/common

So now I have version 1.10.6 and have tried chrome/firefox/opera and the trash can does not work.

Chrome error shows: Uncaught ReferenceError: deleteCategory is not defined

Is there maybe some other way of deleting categories, that is not through the web interface?

Benjamin Reed May 2, 2012 at 5:23 PM

it doesn't have a link because it's done with Javascript. I did just fix the delete code having some bad href stuff, though, so maybe that was the issue?

Regardless, I have tried the trash can in current 1.10 branch with my changes and it works, so if this still fails with latest snapshots, feel free to reopen.

Stefan Immelmann-Winter April 16, 2012 at 10:04 AM

Checked again with Chrome, Popups allowed for the OpenNMS IP.
Call http://10.0.6.32:8980/opennms/admin/categories.htm
Home / Admin / Categories
Chrome Debug: categories.htm:336 Uncaught SyntaxError: Unexpected identifier
Klick on dustbin:
Chrome Debug: categories.htm:559 Uncaught ReferenceError: deleteCategory is not defined
Already tried to find something in the code... but i am merely a user 🙂 and java script errors can be so annoying.

OpenNMS Configuration
OpenNMS Version: 1.10.1
Home Directory: /usr/share/opennms
RRD store by Group: false
Web-Application Logfiles: /var/log/opennms/webapp
Reports directory: /var/lib/opennms/reports
Jetty http host: null
Jetty http port: 8980
Jetty https host: null
Jetty https port: null
System Configuration
Server Time: Mon Apr 16 15:56:10 CEST 2012
Client Time: Mon Apr 16 2012 15:56:31 GMT+0200 (Mitteleuropäische Sommerzeit)
Java Version: 1.6.0_20 Sun Microsystems Inc.
Java Virtual Machine: 19.0-b09 Sun Microsystems Inc.
Operating System: Linux 2.6.32-40-server (amd64)
Servlet Container: jetty/7.5.1.v20110908 (Servlet Spec 2.5)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19

Won't Fix

Details

Assignee

Reporter

Labels

HB Grooming Date

Affects versions

Priority

PagerDuty

Created April 5, 2012 at 9:19 PM
Updated October 19, 2021 at 6:34 PM
Resolved October 19, 2021 at 6:30 PM

Flag notifications