Actions
Bug #14201
closedNode compliance does not appear if user switch tab during page loading
Pull Request:
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.
Updated by Alexis Mousset almost 6 years ago
- Target version changed from 5.0.5 to 5.0.6
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 5.0.6 to 5.0.7
Updated by François ARMAND over 5 years ago
- Target version changed from 5.0.7 to 5.0.9
Updated by Raphael GAUTHIER over 5 years ago
- Status changed from New to In progress
- Priority changed from 50 to 49
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.9 to 5.0.10
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
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.11 to 5.0.12
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
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
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
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
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
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.17 to 5.0.18
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.18 to 5.0.19
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.19 to 5.0.20
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.20 to 797
Updated by Benoît PECCATTE over 3 years ago
- Target version changed from 797 to 6.1.14
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.14 to 6.1.15
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.15 to 6.1.16
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.16 to 6.1.17
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.17 to 6.1.18
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 6.1.18 to 6.1.19
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