[3.1 29] UI: Incorrect line number shown in the error message in config editor
Bug #1618385 reported by
Pavana
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Won't Fix
|
Medium
|
Manoj | |||
R3.2 |
Fix Committed
|
Medium
|
Manoj | |||
Trunk |
Fix Committed
|
Medium
|
Manoj |
Bug Description
1. Go to Configure > Config Editor
2. Click on any of the links displayed (I clicked on virtual DNS records)
3. Click on the href of any of the records
4. Click on Edit
5. Edit the details -- Here I happened to remove a comma
6. Click on Save
7. An error is displayed as expected - "Error : SyntaxError: Unexpected string in JSON at position 1175"
But the line number displayed (1175) is incorrect.
As per the lines on that page, it seems to be line number 35.
The number shown here might be taken from elsewhere. Could this be changed?
To post a comment you must log in.
The error points to the text position of the error and not the line no.