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

api/thesauris admits empty groups #7144

Open
mfacar opened this issue Aug 26, 2024 · 0 comments
Open

api/thesauris admits empty groups #7144

mfacar opened this issue Aug 26, 2024 · 0 comments

Comments

@mfacar
Copy link
Collaborator

mfacar commented Aug 26, 2024

Describe the bug
api/thesauris admits empty groups, these values are not valid options for an entity's property.

Expected behavior
The endpoint should return a validation error when there are empty groups.

Additional context
#7132 contains a validation at the UI Client level when editing through the side panel editor
When #6906 gets solved, the UI must implement a validation at the UI Client Level when a group is emptied through dnd.

@mfacar mfacar changed the title api/thesauris admits empty groups, the response converts the group into a root item without the possibility of adds items api/thesauris admits empty groups Aug 26, 2024
@aphilop aphilop added this to the Thesauri milestone Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants
@RafaPolit @mfacar @aphilop and others