Project

General

Profile

Bug #41683

mgr/dashboard: Rendering datatable causes Angular runtime error

Added by Volker Theile 13 days ago. Updated 8 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/general
Target version:
Start date:
09/06/2019
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

The fix from https://github.com/ceph/ceph/pull/30103 for https://tracker.ceph.com/issues/41615 causes an Angular runtime error when a datatable in the new CephFS page of the PR https://github.com/ceph/ceph/pull/29800#pullrequestreview-284772767 is rendered.

Encapsulating the code (see https://github.com/ceph/ceph/pull/30103/files)

window.dispatchEvent(new Event('resize'));

in a setTimeout() call will fix the issue.

screenshot.gif View (232 KB) Volker Theile, 09/06/2019 12:42 PM


Related issues

Related to mgr - Bug #41615: mgr/dashboard: Empty datatable rendered before data has been fetched Pending Backport 09/03/2019

History

#1 Updated by Volker Theile 13 days ago

  • Related to Bug #41615: mgr/dashboard: Empty datatable rendered before data has been fetched added

#2 Updated by Volker Theile 13 days ago

  • Description updated (diff)

#3 Updated by Volker Theile 13 days ago

  • Description updated (diff)

#4 Updated by Volker Theile 13 days ago

#5 Updated by Volker Theile 13 days ago

  • Description updated (diff)

#6 Updated by Volker Theile 13 days ago

  • Description updated (diff)

#7 Updated by Volker Theile 13 days ago

  • Status changed from New to Need Review
  • Pull request ID set to 30209

#8 Updated by Kiefer Chang 8 days ago

This issue can also be reproduced by:
  1. Navigate to Pools page, select a pool on Pool List table and click Overall Performance tab.
  2. (With orchestrator enabled) Navigate to Cluster >> Hosts page, select a host on Hosts List table and click Overall Performance tab.

#9 Updated by Lenz Grimmer 8 days ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF