Skip to content

Data Object tree root node renders empty — data-testid resolves to "tree-list-undefined" #149

Description

@Belugaz29

Affected Version

2026.1

Affected capability

Data Objects

Steps to reproduce

Open Pimcore Studio
Navigate to the Data Objects tree
The tree panel loads but displays no items, not even the root Home folder

Actual Behavior

The tree widget container mounts correctly in the DOM, with data-testid widget-content-element_tree.

The API call GET pimcore-studio/api/data-objects/tree?page=1&pageSize=30&parentId=1 returns HTTP 200 with valid data, one child object Marketing, id 2, parentId 1.

However, the tree-list div renders with data-testid tree-list-undefined and stays completely empty.

The data-testid contains the literal string undefined instead of a numeric id, matching the pattern tree-list-dollar t.id in the bundled JS, suggesting the parent node id is undefined when the root node is rendered.

Expected Behavior

The tree should display the root Data Object Home, id 1, and its children, for example Marketing.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Platform Version

    2026.1

    Affected capability

    Data Objects

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions