Affected Version
2025.4 - LTS
Affected capability
Data Objects
Steps to reproduce
Add event listeners for DataObjectDetailEvent::EVENT_NAME and/or DataObjectEvent::EVENT_NAME and set do
$customAttributes->setKey($event->getDataObject()->getKey() . '-test');
$customAttributes->setIcon(
new ElementIcon(ElementIconTypes::NAME->value, 'car')
);
$event->setCustomAttributes($customAttributes);
Actual Behavior
The icon is shown in the detail view and tree, but the key is not applied in any of the tree or detail view.
I see no references of key in the studio ui code for custom attributes. I only see references for icon and tooltip.
Expected Behavior
The key should be applied in the tree and detail view.
Affected Version
2025.4 - LTS
Affected capability
Data Objects
Steps to reproduce
Add event listeners for DataObjectDetailEvent::EVENT_NAME and/or DataObjectEvent::EVENT_NAME and set do
Actual Behavior
The
iconis shown in the detail view and tree, but thekeyis not applied in any of the tree or detail view.I see no references of
keyin the studio ui code for custom attributes. I only see references foriconandtooltip.Expected Behavior
The
keyshould be applied in the tree and detail view.