On Chrome, 'Uncaught SyntaxError: Unexpected end of input' when 'Edit' is done on lif

Bug #1480963 reported by Vedamurthy Joshi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Siva Bavanasi
R2.20
Fix Committed
High
asbalaji

Bug Description

R2.20 Build 74

On my Chrome, When a user clicks on lif, the edit window does not show up

The javascript console shows this : 'Uncaught SyntaxError: Unexpected end of input'

The same action on my Safari browser worked fine

Tags: ui
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Attachment

Rahul (rahuls)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → asbalaji (asbalaji)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

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

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

Reviewed: https://review.opencontrail.org/13202
Committed: http://github.org/Juniper/contrail-web-controller/commit/8900e0f8c0af77e98c53ac4b73fd68eeec288bed
Submitter: Zuul
Branch: R2.20

commit 8900e0f8c0af77e98c53ac4b73fd68eeec288bed
Author: Balaji Kumar AS <email address hidden>
Date: Wed Aug 19 16:54:50 2015 +0530

1480963 - Issue seen only when the cookie 'bm_clear_vmi' is set to empty string.
1486679 - VxLanIdentifier max range changed to 16777215
Closes-Bug: #1480963
Closes-Bug: #1486679

JSON.parse is not supposed to be used to parse string, but object.
Hence using simple string comparators as getCookie() returns string.

Also changed max range of vxlan_identifer to 16777215 as per request in the bug 1486679

Change-Id: I3f78b319262a274ffeaa70ed6c1fe197f6fd5ed9

Revision history for this message
asbalaji (asbalaji) wrote :

Issue is still in a case where the cookie return value is boolean, not string.

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

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

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

Reviewed: https://review.opencontrail.org/13465
Committed: http://github.org/Juniper/contrail-web-controller/commit/ebd6138d4d1b4961c596ab61afdd0ae9849e556b
Submitter: Zuul
Branch: R2.20

commit ebd6138d4d1b4961c596ab61afdd0ae9849e556b
Author: Balaji Kumar AS <email address hidden>
Date: Tue Sep 1 12:17:21 2015 +0530

Issue seen still in a case where the cookie return value is boolean, not string.
Closes-Bug: #1480963
Now handling the boolean case by converting the return value of
getcookie function to string and matching.

Change-Id: I2fff27c8fe469524cbca32868c2a60e0b2457f69

asbalaji (asbalaji)
Changed in juniperopenstack:
assignee: asbalaji (asbalaji) → Siva Bavanasi (kbsiva)
Revision history for this message
Siva Bavanasi (kbsiva) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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