Heatmap does not load in some cases "$.widget is not a function"

Description

Sometimes the heatmap module is not loaded correctly. The following error is printed to the browser log:

TypeError: $.widget is not a function[Learn More]

No heatmap is shown in this case.
Reloading may or may not fix the issue afterwards.
Probably initialization issue.

How to reproduce:
Reload the page http://localhost:8980/opennms/heatmap/index.jsp until the error occurs.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Ronny Trommer January 30, 2017 at 9:17 AM

Removed the Meridian and 18.0.4 release tag.

Christian Pape January 30, 2017 at 2:51 AM

The error does not occur in foundation-2016 because the foundation's code is not using requirejs in the Heatmap yet.

Benjamin Reed January 27, 2017 at 9:27 AM

Yes please

Ronny Trommer January 27, 2017 at 6:01 AM
Edited

Should we fix this bug in foundation-2016 to be fixed in Merdian and all Horizon > 18.0.3 as well?

See https://github.com/OpenNMS/opennms/tree/foundation-2016/opennms-webapp/src/main/webapp/heatmap

Christian Pape January 27, 2017 at 5:44 AM

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created January 26, 2017 at 10:15 AM
Updated January 31, 2017 at 10:48 AM
Resolved January 30, 2017 at 6:34 PM