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

Also available in: Atom PDF