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
Describe the bug
Creating an Image and opening the Content tab on the add form shows the Aurora error page instead of the metadata/image fields.
To Reproduce
Steps to reproduce the behavior:
Log in to Aurora in development mode.
Open the Add menu and choose Image.
On the add form, click the Content tab.
See the error page.
Expected behavior
The Content tab should show the Image type fields, including a working image/file widget, without crashing.
Screenshots
Screen.Recording.2026-08-14.at.8.47.14.PM.mov
Software:
OS: macOS
Browser: Chrome
Plone Aurora Version: main
Plone Version: 6.2.1
Plone REST API Version: 10.0.2
Additional context
The Image type schema exposes the blob field as widget: "file" and factory: "Image". Widget lookup in packages/cmsui/components/Form/Field.tsx treats an unknown widget string as the default TextField and never falls through to the factory. ImageWidget is only registered as widget: "image" in packages/cmsui/config/widgets.ts, and there is no File widget. The Content tab then passes value={field.state.value} (null or a file object) into React Aria TextField, which expects a string and throws.
Related: flattenScales in packages/layout/components/Image/Image.tsx also assumes image.scales exists, which can crash the Image view after save if scales are missing.
Describe the bug
Creating an Image and opening the Content tab on the add form shows the Aurora error page instead of the metadata/image fields.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Content tab should show the Image type fields, including a working image/file widget, without crashing.
Screenshots
Screen.Recording.2026-08-14.at.8.47.14.PM.mov
Software:
mainAdditional context
The Image type schema exposes the blob field as
widget: "file"andfactory: "Image". Widget lookup inpackages/cmsui/components/Form/Field.tsxtreats an unknownwidgetstring as the defaultTextFieldand never falls through to the factory.ImageWidgetis only registered aswidget: "image"inpackages/cmsui/config/widgets.ts, and there is no File widget. The Content tab then passesvalue={field.state.value}(null or a file object) into React AriaTextField, which expects a string and throws.Related:
flattenScalesinpackages/layout/components/Image/Image.tsxalso assumesimage.scalesexists, which can crash the Image view after save if scales are missing.