PSQLException: column "nodeid" does not exist when using manage/unmanage services
Description
Following the database model changes, the following pages throw PSQLExceptions:
1) Node Page -> Admin -> Manage and Unmanage Interfaces and Services
Caused by: org.postgresql.util.PSQLException: ERROR: column "nodeid" does not exist at org.opennms.web.admin.nodeManagement.GetInterfacesServlet.getInterfaces(GetInterfacesServlet.java:136) ~[opennms-webapp-17.0.0-SNAPSHOT.jar:?]
2) Admin -> Manage and Unmanage Interfaces and Services
Caused by: org.postgresql.util.PSQLException: ERROR: column "nodeid" does not exist at org.opennms.web.admin.nodeManagement.GetNodesServlet.getAllNodes(GetNodesServlet.java:112) ~[opennms-webapp-17.0.0-SNAPSHOT.jar:?]
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Seth Leger July 20, 2015 at 4:31 PM
I updated the SQL in this servlet so that it queries for services correctly following the refactoring for DB trigger removal. Marking as fixed.
Following the database model changes, the following pages throw PSQLExceptions:
1) Node Page -> Admin -> Manage and Unmanage Interfaces and Services
Caused by: org.postgresql.util.PSQLException: ERROR: column "nodeid" does not exist
at org.opennms.web.admin.nodeManagement.GetInterfacesServlet.getInterfaces(GetInterfacesServlet.java:136) ~[opennms-webapp-17.0.0-SNAPSHOT.jar:?]
2) Admin -> Manage and Unmanage Interfaces and Services
Caused by: org.postgresql.util.PSQLException: ERROR: column "nodeid" does not exist
at org.opennms.web.admin.nodeManagement.GetNodesServlet.getAllNodes(GetNodesServlet.java:112) ~[opennms-webapp-17.0.0-SNAPSHOT.jar:?]