Assets from Subdomains Not Shown When Viewing Parent Domain
Affected module UI (frontend)
Describe the bug
When working with hierarchical domains in version 1.0.4, assets from subdomains are not displayed correctly in the UI.
For example, if a top-level domain A has two subdomains A1 and A2, selecting domain A in the Explore view only shows assets directly associated with A, but not those in A1 or A2.
Additionally, in the Domain details page for A, the total assets count includes assets from A1 and A2, but when navigating to the assets list, only the assets from A are displayed.
To Reproduce
- Create a domain A.
- Create two subdomains under A: A1 and A2.
- Assign assets to A1 and A2.
- Go to Explore and filter by domain A → only assets from A appear, not from A1/A2.
- Go to the Domain A details page → the total number of assets reflects all (A, A1, A2), but in the asset list tab only those from A are visible.
In this image, it says there are 84 assets, but much less are shown.
In this image we can see that explore tab shows less assets (Dominio Albacete is Domain A):
Expected behavior When selecting a parent domain (e.g., A) in the Explore view or in its details page, all assets belonging to that domain and its subdomains (A1, A2, etc.) should be displayed.
Version:
- OS: Linux
- Python version: 3.11
- OpenMetadata version: 1.10.4
- OpenMetadata Ingestion package version: openmetadata-ingestion[docker]==1.10.4
Additional context This issue affects the discoverability of assets in hierarchical domain structures. It appears that the asset filtering logic in the UI does not include subdomain relationships when querying assets for a parent domain.
@sonika-shah let's validate this , close if not applicable
@GregorioBlazquez - There are two parts of the issue.
- You need an overall view on Explore, when you select Domain, it should also show assets of SubDomains. This is duplicate of this issue https://github.com/open-metadata/OpenMetadata/issues/22553
- The other issue is on Domain Assets Tab, where count is correct but listing doesn't show the assets there. This is fixed with https://github.com/open-metadata/OpenMetadata/pull/24677. Release target is 1.11.1