Add button is not working in "Add Ranges" in opennms

Description

In 22.0.0-SNAPSHOT the, "Add" button is non-responsive in the WebUI

admin -> Configure Opennms -> Run Single Discovery Scan -> Include Ranges -> Add New

while adding ip range for Discovery. It seems like this is a JavaScript error:

Uncaught TypeError: this.parse is not a function at Object.l [as Address4] (ipv4.js:45) at checkIpRange (ipaddress-js.js:19) at doAddIncludeRange (add-ir.jsp?mode=scan:131) at HTMLButtonElement.onclick (add-ir.jsp?mode=scan:221) l @ ipv4.js:45 checkIpRange @ ipaddress-js.js:19 doAddIncludeRange @ add-ir.jsp?mode=scan:131 onclick @ add-ir.jsp?mode=scan:221

This bug is reported and investigated by users of the Docker Image on DockerHub:

Bug Report:

Acceptance / Success Criteria

None

Attachments

1
  • 14 May 2018, 01:32 PM

Lucidchart Diagrams

Activity

Benjamin Reed May 15, 2018 at 9:30 PM

Benjamin Reed May 15, 2018 at 8:28 PM

That does appear to be the issue.  Testing a fix right now.

Markus von Rüden May 14, 2018 at 1:41 PM
Edited

I wasn't able to reproduce it with latest foundation-2017 changes, as  was able to reproduce it with latest develop it is probably caused by the introduction of core/web-asstets. See https://opennms.atlassian.net/browse/NMS-9761#icft=NMS-9761 for more details.

Ronny Trommer May 14, 2018 at 1:33 PM

Was able to reproduce with: Version: 22.0.0-0.20180511.onms.develop.1350

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created May 12, 2018 at 9:41 AM
Updated May 16, 2018 at 11:20 AM
Resolved May 16, 2018 at 11:20 AM

Flag notifications