Project

General

Profile

Actions

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.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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 1 (0 open1 closed)

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

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #7380: Javascript error on Rudder 3.2 with ChromiumReleasedFrançois ARMAND2015-11-06Actions
Actions #1

Updated by Nicolas CHARLES about 9 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}" 

Actions #3

Updated by Nicolas CHARLES about 9 years ago

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

seems to fix the issue on firefox

Actions #4

Updated by Nicolas CHARLES about 9 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!

Actions #5

Updated by Nicolas CHARLES about 9 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)
Actions #6

Updated by Nicolas CHARLES about 9 years ago

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

Updated by Nicolas CHARLES about 9 years ago

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

Updated by Nicolas CHARLES about 9 years ago

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

Updated by Nicolas CHARLES about 9 years ago

  • Description updated (diff)
Actions #11

Updated by Vincent MEMBRÉ about 9 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
Actions #12

Updated by Vincent MEMBRÉ about 9 years ago

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

Updated by Vincent MEMBRÉ about 9 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.

Actions #14

Updated by Vincent MEMBRÉ about 9 years ago

  • Status changed from Pending release to Released
Actions #15

Updated by Nicolas CHARLES about 9 years ago

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

Also available in: Atom PDF