-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two array fields with single upload field breaks admin data loading. #8690
Comments
Update: If i split up both array fields in their own tabs it is working again. |
DanRibbens
pushed a commit
that referenced
this issue
Oct 16, 2024
Fixes #8690 Fixes an issue where unrelated schema paths were being joined and passed into nested sanitizeFields function calls.
🚀 This is included in version v3.0.0-beta.115 |
This issue has been automatically locked. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Link to reproduction
No response
Environment Info
Binaries:
Node: 20.11.1
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant Packages:
payload: 3.0.0-beta.113
next: 15.0.0-canary.173
@payloadcms/db-mongodb: 3.0.0-beta.113
@payloadcms/graphql: 3.0.0-beta.113
@payloadcms/live-preview: 3.0.0-beta.113
@payloadcms/live-preview-react: 3.0.0-beta.113
@payloadcms/next/utilities: 3.0.0-beta.113
@payloadcms/plugin-nested-docs: 3.0.0-beta.113
@payloadcms/plugin-seo: 3.0.0-beta.113
@payloadcms/richtext-lexical: 3.0.0-beta.113
@payloadcms/richtext-slate: 3.0.0-beta.113
@payloadcms/translations: 3.0.0-beta.113
@payloadcms/ui/shared: 3.0.0-beta.113
react: 19.0.0-rc-3edc000d-20240926
react-dom: 19.0.0-rc-3edc000d-20240926
Operating System:
Platform: win32
Arch: x64
Version: Windows 11 Pro
Available memory (MB): 32488
Available CPU cores: 16
Describe the Bug
Havingf two array fields with one upload each breaks the data loading in admin edit view. The first array gets saved but not loaded in admin panel (it appears empty). The second gets loaded correctly.
Database Entry:
The admin after reloading:

The Collection config:
Reproduction Steps
1.) Create an collection like above.
2.) Upload data into both arrays.
3.) Reload page.
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: