FriendsOfTYPO3 / tt_address

Add address / contact datasets to your content management system.
GNU General Public License v2.0
38 stars 76 forks source link

Wrong label values in backend list (Workspaces) #525

Closed rbnzlknb closed 4 months ago

rbnzlknb commented 4 months ago

Bug Report

If workspaces are active and a label field ($GLOBALS['TCA']['tt_address']['ctrl']['label_alt']) of a tt_address record is edited in a non(!) live workspace, this change is not displayed in the backend list (module: web/list), not even in the backend view in the plugin.

The frontend output is correct.

$GLOBALS['TCA']['tt_address']['ctrl']['label_userFunc'] => \FriendsOfTYPO3\TtAddress\Hooks\Tca\Label::class . '->getAddressLabel';

I suspect that the workspace overlay is not being accessed here.

If I deactivate the label_userFunc ($GLOBALS['TCA']['tt_address']['ctrl']['label_userFunc']) the backend view works as expected.

Current Behavior Im custom-Workspace werden die Eigenschaften aus dem live Workspace angezeigt.

Expected behavior/output The values from the current workspace should be displayed.

Environment

georgringer commented 4 months ago

thanks, fixed