Project

General

Profile

Actions

Bug #14201

closed

Node compliance does not appear if user switch tab during page loading

Added by François ARMAND almost 6 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
42
Name check:
Fix check:
Regression:

Description

When one is on the node detail page, if the user click on "compliance reports" tab just at the right moment when the page loads (it seems to be if you click just when the loading wheel disappear), then the compliance page is missing and there a lot of JS error telling that the table element is missing:

JS console:

TypeError: e[i] is undefined[Learn More] datatables.min.js:77:437
V
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/datatables/datatables.min.js:77:437
va
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/datatables/datatables.min.js:82:61
m/<
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/datatables/datatables.min.js:103:148
each
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:2:2813
each
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:2:1001
m
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/datatables/datatables.min.js:94:383
h.fn.DataTable
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/datatables/datatables.min.js:178:245
refreshTable
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/rudder/rudder-datatable.js:1664:29
<anonymous>
https://rudder-snapshot-5.0.normation.com/rudder/secure/nodeManager/searchNodes:4:11
p
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:2:516
globalEval
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:2:2595
text script
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:4:16857
Nb
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:4:10017
A
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:4:13542
c/<
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:4:16146
Error: p.nTHead is null
m/<@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/datatables/datatables.min.js:95:233
each@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:2:2813
each@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/jquery-3.1.0.min.js:2:1001
m@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/datatables/datatables.min.js:94:383
h.fn.DataTable@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/jquery/datatables/datatables.min.js:178:245
f@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular-datatables.min.js:6:6449
g@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular-datatables.min.js:6:6580
i/</<@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular-datatables.min.js:6:7863
f/q<@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular.min.js:158:492
e@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular.min.js:45:442
$f/k.defer/c<@https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular.min.js:48:300
angular.min.js:118:8
e/<
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular.min.js:118:8
hf/this.$get</<
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular.min.js:90:220
f/q<
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular.min.js:159:26
e
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular.min.js:45:442
$f/k.defer/c<
https://rudder-snapshot-5.0.normation.com/rudder/cache-5.0.5-SNAPSHOT/javascript/angular/angular.min.js:48:300

See on Rudder 5.0, but it may be in previous version.
The workaround is just to reload the page and wait a couple of second before switching tab.

Actions #1

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 5.0.5 to 5.0.6
Actions #2

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 5.0.6 to 5.0.7
Actions #3

Updated by François ARMAND over 5 years ago

  • Target version changed from 5.0.7 to 5.0.9
Actions #4

Updated by Raphael GAUTHIER over 5 years ago

  • Status changed from New to In progress
  • Priority changed from 50 to 49
Actions #5

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.9 to 5.0.10
Actions #7

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.10 to 5.0.11
  • Priority changed from 49 to 48
Actions #8

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.11 to 5.0.12
Actions #9

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.12 to 5.0.13
  • Priority changed from 48 to 47
Actions #10

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 47 to 46
Actions #11

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 46 to 45
Actions #12

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
  • Priority changed from 45 to 43
Actions #13

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
  • Priority changed from 43 to 42
Actions #14

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #15

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.18 to 5.0.19
Actions #16

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.19 to 5.0.20
Actions #17

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.20 to 797
Actions #18

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 797 to 6.1.14
Actions #19

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #20

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #21

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #22

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #23

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #24

Updated by François ARMAND almost 3 years ago

  • Status changed from In progress to Rejected

This is complicated. It was somehow reduced, but a full correction need deep arch change in the page, which we won't do just for that bug. Closing it with label "js, arg".

Actions

Also available in: Atom PDF