Skip to content
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

updating the relational field value and clearing it is throwing "Something went wrong message"- categories and sub categories #20142

Open
saiken000 opened this issue Apr 17, 2024 · 0 comments

Comments

@saiken000
Copy link

Bug report

Required System information

  • Node.js version: 16.17.1
  • NPM version: 8.15.0
  • Strapi version: 4.11.7
  • Database: PostGreSQL
  • Operating system: Windows OS
  • Javascript Project

Describe the bug

Updating a relational field and clearing it is throwing a "Something went wrong" error message.
Ex: Say there is a Genre relational field (one-to-one relation with itself), first selecting fiction and then changing it so sci-fi. Upon clearing it is throwing the message. "Woops something went wrong, please try again"

Steps to reproduce the behavior

  • Create collection “Genre”
  • Add relational field called “parent”. this field is “one-to-one relation” with the same “Genre” collection.
  • Click on fiction
  • Again click on fiction-drama
  • Clear the selection

Expected behavior

It should clear the selection without any errors.

Screenshots

image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To review
Development

No branches or pull requests

1 participant