Bug #7286
closed
Link from node/directive list to node detail is broken on Firefox
Added by Nicolas CHARLES about 9 years ago.
Updated about 9 years ago.
Category:
Web - Nodes & inventories
Description
On latest version of Chromium/Firefox, when we click on the loop on the node list, we arrive to the searchNode page with the correct URL, however, the node detail is not loaded
Breaks on Firefox 44, Chromium 46
It works perfectly on Chromium 45, Forefox 31 (and some version in between 44 and 31, needs further testing)
The parsing of the nodeId is made by
JSON.parse(window.location.hash.substring(1));
SyntaxError: JSON.parse: expected property name or '}' at line 1 column 2 of the JSON data
JSON.parse(window.location.hash.substring(1));
which fails
window.location.hash.substring(1);
"{%22nodeId%22:%220c846655-cb06-486f-ace4-eaeb11372097%22}"
JSON.parse(decodeURI(window.location.hash.split("#")[1]));
seems to fix the issue on firefox
- Subject changed from Link from node list to node detail is broken on Firefox to Link from node/directive list to node detail is broken on Firefox
this also happen for the directives link!
- Subject changed from Link from node/directive list to node detail is broken on Firefox to Link from node/directive list to node detail is broken on Firefox (branch 2.10)
- Status changed from New to Pending technical review
- Pull Request set to https://github.com/Normation/rudder/pull/930/files
- Related to Bug #7287: Link from node/directive list to node detail is broken on Firefox (branch 3.0) added
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Description updated (diff)
- Subject changed from Link from node/directive list to node detail is broken on Firefox (branch 2.10) to Link from node/directive list to node detail is broken on Firefox
- Related to deleted (Bug #7287: Link from node/directive list to node detail is broken on Firefox (branch 3.0))
This bug has been fixed in Rudder 2.10.19, 2.11.16, 3.0.11 and 3.1.4 which were released today.
- Status changed from Pending release to Released
- Related to Bug #7380: Javascript error on Rudder 3.2 with Chromium added
Also available in: Atom
PDF