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

v5: required relation errors the UI #19976

Open
laurenskling opened this issue Mar 31, 2024 · 2 comments
Open

v5: required relation errors the UI #19976

laurenskling opened this issue Mar 31, 2024 · 2 comments
Assignees
Labels
issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information version: 5

Comments

@laurenskling
Copy link
Contributor

Bug report

Required System information

Environment: development
OS: darwin-arm64
Strapi Version: 5.0.0-beta.1
Node/Yarn Version: yarn/1.22.19 npm/? node/v18.20.0 darwin arm64
Edition: Community
Database: sqlite

Describe the bug

Having a relation set to required results in an error:
Scherm­afbeelding 2024-03-31 om 19 32 07

Steps to reproduce the behavior

  1. create a relation and set required: true
  2. go to the entry
  3. save
  4. error shows at relation selector

Expected behavior

no error, allowed to save, required

@derrickmehaffy
Copy link
Member

Throws a proper error in beta.4, closing:

Image

@laurenskling
Copy link
Contributor Author

Hey @derrickmehaffy , thanks for working on it.
It throws a proper error when not selecting a required relation, yes.
But it also throws errors when you do select required relations.

Another screenshot:
Scherm­afbeelding 2024-05-10 om 16 43 35

tested on beta.7

@derrickmehaffy derrickmehaffy added issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information version: 5
Projects
Status: To be reviewed
Status: Backlog
Status: To review
Development

No branches or pull requests

3 participants