[Messenger] fix Studio widget not rendering in navigation - #3102
Merged
dpfaffenbauer merged 1 commit intoJul 8, 2026
Merged
Conversation
The Studio menu bridge (MenuBundle) derives the widget id for a menu
leaf as `item.widgetId || coreshop-${item.id}`. Since the messenger
menu item did not carry a `widgetId`, the bridge computed
`coreshop-coreshop_messenger`, which does not match the widget the
messenger Studio plugin registers (`coreshop-messenger-widget`).
As a result the bridge registered its placeholder CoreShopWidget
(rendering only the label) instead of opening the real MessengerList.
Set the `widgetId` attribute so the navigation entry resolves to the
already-registered messenger widget.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Opening the Messenger entry from the Pimcore Studio main navigation renders an empty widget showing only the label (
coreshop_messenger) instead of the realMessengerListUI.Cause
The Studio menu bridge in
CoreShopMenuBundle(menu-extension.tsx) derives the widget id for a leaf menu item as:The messenger menu item (
MessengerMenuBuilder) did not set awidgetIdattribute, so the bridge computedcoreshop-coreshop_messenger. That id does not match the widget the messenger Studio plugin actually registers:Because no widget is registered under the computed id, the bridge falls back to its placeholder
CoreShopWidget, which only renders the item label — hence the empty screen. (After linking works, a leftover persisted tab may throwWidget coreshop-coreshop_messenger not foundonce, which is the stale pre-fix tab.)Fix
Set the
widgetIdattribute on the messenger menu item to the id the Studio plugin registers, so the navigation entry resolves to the real widget:🤖 Generated with Claude Code