-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Localized group Field breaks Postgres #8308
Labels
Comments
italodr
added
status: needs-triage
Possible bug which hasn't been reproduced yet
v3
labels
Sep 19, 2024
github-actions
bot
removed
the
status: needs-triage
Possible bug which hasn't been reproduced yet
label
Sep 20, 2024
This issue has been automatically locked. |
DanRibbens
pushed a commit
that referenced
this issue
Sep 23, 2024
…8355) This PR addresses these issues with localized groups / tabs with Postgres / SQLite: - Array fields inside of localized groups. Fixes #8322 - Select fields with `hasMany: true` inside of localized groups. Related to 1, but still needed its own additional logic. - Relationship (non-polymorphic / non has-many) inside of localized groups. Previously, even just trying to define them in the config led to a crash. Fixes #8308 Ensures test coverage for localized groups.
🚀 This is included in version v3.0.0-beta.109 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Link to reproduction
https://github.com/italodr/test-payload-19092024
Environment Info
Describe the Bug
I am trying to create a collection with some fields. When I add a field of type upload, there is no problem. But if I try to put this field inside a field of type group, the terminal stops with the following error:
Reproduction Steps
To reproduce the bug:
dev
scriptTo verify that it works if it is applied to the field instead of to the group:
src > globals > header.ts
dev
scriptThe reproduction repository has been created with:
And the following configuration has been added to
payload.config.ts
file:Adapters and Plugins
db-postgres
The text was updated successfully, but these errors were encountered: