Project

General

Profile

Bug #41683

mgr/dashboard: Rendering datatable causes Angular runtime error

Added by Volker Theile 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/general
Target version:
% Done:

0%

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

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 Resolved 09/03/2019

History

#1 Updated by Volker Theile 7 months ago

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

#2 Updated by Volker Theile 7 months ago

  • Description updated (diff)

#3 Updated by Volker Theile 7 months ago

  • Description updated (diff)

#4 Updated by Volker Theile 7 months ago

#5 Updated by Volker Theile 7 months ago

  • Description updated (diff)

#6 Updated by Volker Theile 7 months ago

  • Description updated (diff)

#7 Updated by Volker Theile 7 months ago

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

#8 Updated by Kiefer Chang 7 months 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 7 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF