Horizon npm test job failed with jQuery Version >3.x

Bug #2027728 reported by Vishal Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Vishal Manchanda

Bug Description

After migrating xstatic-Jquery version >3.x horizon npm test job started failing [1] and [2].
There is also an open issue reported for this https://github.com/lorenzofox3/lrDragNDrop/issues/15
Horizon npm job fails with the below error msg:

Firefox 102.0 (Linux x86_64) ERROR
  An error was thrown in afterAll
  TypeError: window.jQuery.event.props is undefined
  isJqueryEventDataTransfer@/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:5:9
  @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:8:9
  @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:184:3
Firefox 102.0 (Linux x86_64): Executed 645 of 645 ERROR (0 secs / 7.806 secs)
Firefox 102.0 (Linux x86_64) ERROR
  An error was thrown in afterAll
  TypeError: window.jQuery.event.props is undefined
  isJqueryEventDataTransfer@/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:5:9
  @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:8:9
  @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:184:3
Firefox 102.0 (Linux x86_64): Executed 645 of 645 ERROR (8.359 secs / 7.806 secs)

==================== Coverage / Threshold summary =============================
Statements : 100% ( 0/0 ) Threshold : 92%
Branches : 100% ( 0/0 ) Threshold : 84%
Functions : 100% ( 0/0 ) Threshold : 91%
Lines : 100% ( 0/0 ) Threshold : 92%
================================================================================
npm ERR! Test failed. See above for more details.

[1] https://review.opendev.org/c/openstack/requirements/+/887933
[2] https://review.opendev.org/c/openstack/horizon/+/886867

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/xstatic-angular-lrdragndrop 1.0.2.5

This issue was fixed in the openstack/xstatic-angular-lrdragndrop 1.0.2.5 release.

Changed in horizon:
assignee: nobody → Vishal Manchanda (vishalmanchanda)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.