-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
status: needs-triagePossible bug which hasn't been reproduced yetPossible bug which hasn't been reproduced yet
Description
Describe the Bug
Saving a collection that has a localized lexical field and also has an upload in the content cause this error in lexical when saving: Upload value should be a string or number. The Lexical Upload component should not receive the populated value object.
Link to the code that reproduces this issue
https://github.com/mattiaz9/payload/tree/bug/upload-feature
Reproduction Steps
- Run
pnpm dev _community
- Open the example post
- Add an image using the upload feature within the content
- Click Publish in English
Which area(s) are affected? (Select all that apply)
plugin: richtext-lexical
Environment Info
Binaries:
Node: 22.14.0
npm: 10.9.2
Yarn: N/A
pnpm: 10.11.0
Relevant Packages:
payload: 3.47.0
next: 15.4.1
@payloadcms/db-postgres: 3.47.0
@payloadcms/email-resend: 3.47.0
@payloadcms/graphql: 3.47.0
@payloadcms/live-preview: 3.47.0
@payloadcms/live-preview-react: 3.47.0
@payloadcms/next/utilities: 3.47.0
@payloadcms/plugin-cloud-storage: 3.47.0
@payloadcms/plugin-form-builder: 3.47.0
@payloadcms/plugin-nested-docs: 3.47.0
@payloadcms/plugin-redirects: 3.47.0
@payloadcms/plugin-seo: 3.47.0
@payloadcms/richtext-lexical: 3.47.0
@payloadcms/storage-s3: 3.47.0
@payloadcms/storage-vercel-blob: 3.47.0
@payloadcms/translations: 3.47.0
@payloadcms/ui/shared: 3.47.0
react: 19.1.0
react-dom: 19.1.0
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:25 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6020
Available memory (MB): 16384
Available CPU cores: 12
Metadata
Metadata
Assignees
Labels
status: needs-triagePossible bug which hasn't been reproduced yetPossible bug which hasn't been reproduced yet