-
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
Unable to delete record from admin in postgres if collection has array field type #6485
Comments
denolfe
added
the
status: needs-triage
Possible bug which hasn't been reproduced yet
label
May 26, 2024
github-actions
bot
removed
the
status: needs-triage
Possible bug which hasn't been reproduced yet
label
Jun 10, 2024
ikenox
added a commit
to ikenox/payload
that referenced
this issue
Jun 12, 2024
Due to this issue, collection data that has select-hasMany field cannot be deleted on admin panel. Minimum reproducible: ikenox@fcf1429 |
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
Describe the Bug
I am using the postgresdb adapter. and update the Users collection with following additional field:
I noticed there are some discussion about cascade in relationship but there is no conclusion there. I want to know if there are some existing workaround for that using hook but I am not able to find such information in the documentation as well.
To Reproduce
Create a new project using the default user schema.
Modify Users.ts with additional field
Create a user through the payload cms admin page.
Try delete the user through the payload cms admin page and error toast occured.
Payload Version
2.18.3
Adapters and Plugins
db-postgres
The text was updated successfully, but these errors were encountered: