OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

OpenMetadata 1.12.8: Total Data Assets widget shows empty icons for Database, Database Schema, Stored Procedure, and Table

Open AuTyi opened this issue 6 months ago • 1 comments

Affected module

UI

Describe the bug

Image

Summary In the Total Data Assets card on the OpenMetadata home/dashboard view, several entity icons are not rendered. The icon container exists in DOM, but it is empty for specific rows.

Affected rows

  • Database
  • Database Schema
  • Stored Procedure
  • Table

Not affected in same widget

  • Query icon renders correctly
  • Header icon renders correctly

Environment

  • OpenMetadata version: 1.12.8
  • Deployment: OpenShift (air-gapped)
  • UI bundle served from: /assets/index-CDqCHWff.js

Important note There was separate investigation around static assets and branding image injection, but this issue remained unchanged and is likely unrelated to branding/static file serving.

Request Please verify whether there is a regression in entity-type-to-icon mapping for Total Data Assets in 1.12.8, specifically for:

  • database
  • databaseSchema
  • storedProcedure
  • table

If needed, I can also provide:

  • HAR capture
  • full console logs
  • screenshot of DOM node list showing empty vs populated icon-container rows

https://raw.githubusercontent.com/AuTyi/Cursor-test/refs/heads/main/2026-05-29_08h07_19.png

To Reproduce

Reproduction steps

  1. Open OpenMetadata home/dashboard.
  2. Locate Total Data Assets widget.
  3. Observe icon column for rows:
    • Database
    • Database Schema
    • Stored Procedure
    • Table
  4. Inspect DOM in browser dev tools.

Observed in browser diagnostics

  • The element exists with expected layout classes.
  • Computed style for icon container:
    • backgroundImage: none
    • ::before content: none
    • ::before backgroundImage: none
  • For affected rows, innerHTML is empty and childCount is 0.
  • For Query row, icon is inline SVG and childCount is 1.

Why this appears to be frontend mapping/rendering issue (not static asset issue)

  • Empty container means no icon element is injected for affected rows.
  • No failing image request tied to these specific row icons.
  • Same widget successfully renders other icons (header and Query).
  • This indicates missing/undefined icon component mapping for specific entity types.

Additional context from bundle inspection

  • Total Data Assets row rendering uses icon value from row object (icon is passed as component/content).
  • For affected entity rows, this icon value appears empty/undefined at render time.

Expected behavior

Expected behavior Each entity row in Total Data Assets should show its corresponding icon.

Actual behavior Some rows render an empty icon container:

Impact

  • Visual inconsistency in key dashboard widget
  • Makes entity list harder to scan quickly
  • Confusing UX because some icons render while others do not

OS

OpenShift, Kubernetes version v1.30.7

Python version

3

OpenMetadata version

1.12.8

OpenMetadata Ingestion package version

1.12.8

Additional context

No response

Pre-submission checklist

  • [x] I searched for duplicate issues.
  • [x] I removed credentials, hostnames, emails, and other sensitive data from logs and config.

AuTyi avatar May 29 '26 05:05 AuTyi

The fix is available 2.0 and 1.13 release

Rohit0301 avatar Nov 06 '26 10:11 Rohit0301