[R4.1 newton Webui]Rerun , modify and delete of session query is not working

Bug #1731837 reported by aswani kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
High
Manoj
Trunk
Fix Committed
High
Manoj

Bug Description

R4.1 newton ubuntu16 multinode
Rerun , modify and delete of session query on query_page is not working
On using these options redirecting to monitor page

:8143/dist/reports/qe/ui/js/qe.module.js?built_at=1510371627:3238 Uncaught TypeError: Cannot read property 'qe-query-queue-result-chart-tab-DBE9C6C0-7943-481C-BE5A-23C89446ACB5-1510506389097-tab' of undefined
    at Object.onRemoveTab (:8143/dist/reports/qe/ui/js/qe.module.js?built_at=1510371627:3238)
    at n.removeTab (:8143/dist/js/common/contrail.core.views.js?built_at=1510371627:25708)
    at n._onClickRemove (:8143/dist/js/common/contrail.core.views.js?built_at=1510371627:25841)
    at HTMLDivElement.dispatch (:8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:3)
    at HTMLDivElement.$event.dispatch (:8143/dist/js/common/thirdparty.libs.js?built_at=1510371627:6013)
    at HTMLDivElement.r.handle (:8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:3)
onRemoveTab @ :8143/dist/reports/qe/ui/js/qe.module.js?built_at=1510371627:3238
removeTab @ :8143/dist/js/common/contrail.core.views.js?built_at=1510371627:25708
_onClickRemove @ :8143/dist/js/common/contrail.core.views.js?built_at=1510371627:25841
dispatch @ :8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:3
$event.dispatch @ :8143/dist/js/common/thirdparty.libs.js?built_at=1510371627:6013
r.handle @ :8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:3
:8143/dist/reports/qe/ui/js/qe.module.js?built_at=1510371627:2956 Uncaught TypeError: Cannot read property 'qe-query-queue-result-grid-tab-13D9CB65-D1EA-4FF3-B399-16B2CAC973F5-1510506349304-tab' of undefined
    at String.<anonymous> (:8143/dist/reports/qe/ui/js/qe.module.js?built_at=1510371627:2956)
    at Function.each (:8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:2)
    at :8143/dist/reports/qe/ui/js/qe.module.js?built_at=1510371627:2953
    at Object.<anonymous> (:8143/dist/js/common/core.bundle.js?built_at=1510371627:21865)
    at i (:8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:2)
    at Object.fireWith [as resolveWith] (:8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:2)
    at z (:8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:4)
    at XMLHttpRequest.<anonymous> (:8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:4)
(anonymous) @ :8143/dist/reports/qe/ui/js/qe.module.js?built_at=1510371627:2956
each @ :8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:2
(anonymous) @ :8143/dist/reports/qe/ui/js/qe.module.js?built_at=1510371627:2953
(anonymous) @ :8143/dist/js/common/core.bundle.js?built_at=1510371627:21865
i @ :8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:2
fireWith @ :8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:2
z @ :8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:4
(anonymous) @ :8143/dist/assets/jquery/js/jquery.min.js?built_at=1510371627:4
qe.module.js?built_at=1510371627:2956 Uncaught TypeError: Cannot read property 'qe-query-queue-result-grid-tab-6A707AF4-B094-49A6-A740-CDA2CD5546C5-1510506321244-tab' of undefined
    at String.<anonymous> (qe.module.js?built_at=1510371627:2956)
    at Function.each (jquery.min.js?built_at=1510371627:2)
    at qe.module.js?built_at=1510371627:2953
    at Object.<anonymous> (core.bundle.js?built_at=1510371627:21865)
    at i (jquery.min.js?built_at=1510371627:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?built_at=1510371627:2)
    at z (jquery.min.js?built_at=1510371627:4)
    at XMLHttpRequest.<anonymous> (jquery.min.js?built_at=1510371627:4)
(anonymous) @ qe.module.js?built_at=1510371627:2956
each @ jquery.min.js?built_at=1510371627:2
(anonymous) @ qe.module.js?built_at=1510371627:2953
(anonymous) @ core.bundle.js?built_at=1510371627:21865
i @ jquery.min.js?built_at=1510371627:2
fireWith @ jquery.min.js?built_at=1510371627:2
z @ jquery.min.js?built_at=1510371627:4
(anonymous) @ jquery.min.js?built_at=1510371627:4
XMLHttpRequest.send (async)
send @ jquery.min.js?built_at=1510371627:4
ajax @ jquery.min.js?built_at=1510371627:4
Contrail.ajaxHandler @ core.bundle.js?built_at=1510371627:21864
onSave @ qe.module.js?built_at=1510371627:2944
onSave @ contrail.core.views.js?built_at=1510371627:5078
onclick @ core.bundle.js?built_at=1510371627:22545
performFooterBtnClick @ core.bundle.js?built_at=1510371627:27761
(anonymous) @ core.bundle.js?built_at=1510371627:27775
dispatch @ jquery.min.js?built_at=1510371627:3
$event.dispatch @ thirdparty.libs.js?built_at=1510371627:6013
r.handle @ jquery.min.js?built_at=1510371627:3

Changed in juniperopenstack:
milestone: none → r5.0.0
assignee: nobody → Manoj (manojgn)
summary: - [R4.1 newton Webui]Rerun and modify and delete of session query is not
+ [R4.1 newton Webui]Rerun , modify and delete of session query is not
working
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/37471
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/37472
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/37471
Committed: http://github.com/Juniper/contrail-web-core/commit/defc61b294cc45c8dc7198fc817acc02fd4a86e7
Submitter: Zuul (<email address hidden>)
Branch: master

commit defc61b294cc45c8dc7198fc817acc02fd4a86e7
Author: Manoj Naik <email address hidden>
Date: Mon Nov 13 17:17:54 2017 +0530

Fixing the Re-run and console errors in query pages.

Fixing the errors seen while doing a re-run, delete or modifying a query from a queue.

Change-Id: I30b63978c967b4088af0f6fe2a3e807b4322c0d3
Closes-Bug: #1731837

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/37472
Committed: http://github.com/Juniper/contrail-web-core/commit/3c20aad81b8cd10c247816a4c0ed0c9512d44353
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 3c20aad81b8cd10c247816a4c0ed0c9512d44353
Author: Manoj Naik <email address hidden>
Date: Mon Nov 13 17:17:54 2017 +0530

Fixing the Re-run and console errors in query pages.

Fixing the errors seen while doing a re-run, delete or modifying a query from a queue.

Change-Id: I30b63978c967b4088af0f6fe2a3e807b4322c0d3
Closes-Bug: #1731837

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.