Describe the Bug
When using the locale: 'all' option in the local update API all fields get updated except for the localized ones.
Link to the code that reproduces this issue
https://github.com/MartijnDeRoode/payload-reproductions
Reproduction Steps
- Clone the repository
- Install dependencies & run
- Create a post through the admin panel
- Go to
http://localhost:3000/api/post/test/{id}, this will randomly generate a string and put it in all 3 fields. (1 normal and 2 localized.)
- Check the response or the admin panel. You will find that only the first text field is updated.
Which area(s) are affected?
area: core
Environment Info
Binaries:
Node: 22.17.0
npm: N/A
Yarn: N/A
pnpm: 9.7.0
Relevant Packages:
payload: 3.83.0
next: 16.2.3
@payloadcms/db-mongodb: 3.83.0
@payloadcms/graphql: 3.83.0
@payloadcms/next/utilities: 3.83.0
@payloadcms/richtext-lexical: 3.83.0
@payloadcms/translations: 3.83.0
@payloadcms/ui/shared: 3.83.0
react: 19.2.4
react-dom: 19.2.4
Operating System:
Platform: win32
Arch: x64
Version: Windows 11 Home
Available memory (MB): 65375
Available CPU cores: 24
Describe the Bug
When using the
locale: 'all'option in the local update API all fields get updated except for the localized ones.Link to the code that reproduces this issue
https://github.com/MartijnDeRoode/payload-reproductions
Reproduction Steps
http://localhost:3000/api/post/test/{id}, this will randomly generate a string and put it in all 3 fields. (1 normal and 2 localized.)Which area(s) are affected?
area: core
Environment Info