Project

General

Profile

Bug #7286

Link from node/directive list to node detail is broken on Firefox

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
User visibility:
Effort required:
Priority:

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)


Subtasks

Bug #7287: Link from node/directive list to node detail is broken on Firefox (branch 3.0)Released2015-10-16Vincent MEMBRÉActions

Related issues

Related to Rudder - Bug #7380: Javascript error on Rudder 3.2 with ChromiumReleased2015-11-06François ARMANDActions
#1

Updated by Nicolas CHARLES over 4 years ago

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}" 

#3

Updated by Nicolas CHARLES over 4 years ago

JSON.parse(decodeURI(window.location.hash.split("#")[1])); 

seems to fix the issue on firefox

#4

Updated by Nicolas CHARLES over 4 years ago

  • 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!

#5

Updated by Nicolas CHARLES over 4 years ago

  • 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)
#6

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from New to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder/pull/930/files
#7

Updated by Nicolas CHARLES over 4 years ago

  • Related to Bug #7287: Link from node/directive list to node detail is broken on Firefox (branch 3.0) added
#8

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#10

Updated by Nicolas CHARLES over 4 years ago

  • Description updated (diff)
#11

Updated by Vincent MEMBRÉ over 4 years ago

  • 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
#12

Updated by Vincent MEMBRÉ over 4 years ago

  • Related to deleted (Bug #7287: Link from node/directive list to node detail is broken on Firefox (branch 3.0))
#13

Updated by Vincent MEMBRÉ over 4 years ago

This bug has been fixed in Rudder 2.10.19, 2.11.16, 3.0.11 and 3.1.4 which were released today.

#14

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released
#15

Updated by Nicolas CHARLES over 4 years ago

  • Related to Bug #7380: Javascript error on Rudder 3.2 with Chromium added

Also available in: Atom PDF