GUI issue: Routing Instance edit window is sometimes empty

Bug #1549806 reported by Ato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Balamurugan Gopal
Trunk
Fix Committed
High
Balamurugan Gopal

Bug Description

Sometimes (not always), editing a Routing Policy is not possible.

If we go to Configure > Networking > Routing > default-domain > [project] > Routing Policies

Then right-click on the wheel on the right of a policy, then click edit.

At this point, the pop-up window is blank in the sense that it does not contain the Routing Policy definition.

This is the error we get in Mozilla console:

getConfigureViewConfig() policyEditView.js:433
RoutingPolicyEditView<.renderRoutingPolicyPopup() routingPolicyEditView.js:78
rowActionConfig<() routingPolicyGridView.js:60
addGridRowActionDroplist/</<() GridView.js:1430
v.event.dispatch() jquery-1.8.3.min.js:2
$event.dispatch() contrail.unified.2.js:374
v.event.add/u() jquery-1.8.3.min.js:2

Rahul (rahuls)
Changed in juniperopenstack:
importance: Undecided → High
assignee: nobody → Balamurugan Gopal (gbala)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/17820
Submitter: Balamurugan Gopal (<email address hidden>)

Nischal Sheth (nsheth)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/17902
Submitter: Balamurugan Gopal (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/17912
Submitter: Balamurugan Gopal (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/17902
Committed: http://github.org/Juniper/contrail-web-controller/commit/3d7891a2a654c1af0a9c31b3e243224c38896d9e
Submitter: Zuul
Branch: master

commit 3d7891a2a654c1af0a9c31b3e243224c38896d9e
Author: balamurugang <email address hidden>
Date: Fri Feb 26 16:19:23 2016 +0530

Edit window is sometimes empty - Fixed

Issue:
The function was declear as a globle scope.
When a function is decleared without a var, it is considered as global scope.
because of that the function from one page is overwriting the function in
another page.

Fix:
Made the function with the declaration as var,
so that it will be turning to a local function and wont overwright the current
page function.

Closes-Bug: #1549806

Please enter the commit message for your changes. Lines starting

Change-Id: I8f5e452ab6eb93848ac5135855e23d0839e1f7b2

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

Reviewed: https://review.opencontrail.org/17912
Committed: http://github.org/Juniper/contrail-web-controller/commit/4fd800877d585099662729db1cb4f630eabd21c4
Submitter: Zuul
Branch: R3.0

commit 4fd800877d585099662729db1cb4f630eabd21c4
Author: balamurugang <email address hidden>
Date: Fri Feb 26 16:19:23 2016 +0530

Edit window is sometimes empty - Fixed

Issue:
The function was declear as a globle scope.
When a function is decleared without a var, it is considered as global scope.
because of that the function from one page is overwriting the function in
another page.

Fix:
Made the function with the declaration as var,
so that it will be turning to a local function and wont overwright the current
page function.

Closes-Bug: #1549806

Please enter the commit message for your changes. Lines starting

Change-Id: I8f5e452ab6eb93848ac5135855e23d0839e1f7b2

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.