You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(ui): invalid URL in description embed-link form crashes the editor ("Invalid slot 'errorMessage'") #30942
In the rich-text Description editor, opening the image/link embed popover and entering an invalid URL crashes the whole editor with the app error boundary:
Something went wrong
Invalid slot "errorMessage". Valid slot names are "description".
The user is dropped out of the description edit entirely.
Steps to reproduce
Open any entity → Edit Description.
In the toolbar, click the image / embed button → the popover opens (Link / Upload tabs).
On the Link tab, type an invalid URL (e.g. ttt).
💥 The editor unmounts and shows "Something went wrong — Invalid slot 'errorMessage'. Valid slot names are 'description'."
Expected
The field shows an inline "Invalid URL" validation message and the editor keeps working (this is the behaviour on the current production release).
Actual
React-aria throws an invalid-slot error, the error boundary catches it, and the editor is replaced by the "Something went wrong" page.
Root cause
openmetadata-ui/.../components/BlockEditor/Extensions/image/EmbedLinkElement/EmbedLinkElement.tsx renders the URL validation error as a standaloneHintText next to the Input:
HintText isInvalid resolves to react-aria slot="errorMessage", but it sits inside a TextField/Input context that only registers the description slot → react-aria throws Invalid slot "errorMessage". Valid slot names are "description".
When it was introduced
Introduced on main by #29964 (commit 2cd612fe9ff, 2026-07-13, "refactor(context-center): wrap header components with HeaderShell") — it added EmbedLinkElement.tsx in its current Input + standalone-HintText form. It is the only commit in that file's history.
Current production works because the deployed UI release predates #29964. This regression is on main and will ship in the next release unless fixed.
Suggested fix
Surface the validation error through the field's own error mechanism (the correct slot) rather than a sibling <HintText> — e.g. pass the error via the Input/TextField error prop, or render the message outside the TextField slot context so it isn't captured as slot="errorMessage".
Activity
test(e2e): add Playwright regression test for embed-link invalid-URL …
fix(ui): stop invalid-URL crash in the description embed-link form (o…
fix(ui): stop invalid-URL crash in the description embed-link form (#…
fix(ui): stop invalid-URL crash in the description embed-link form (o…