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

Show / enforce required fields #71

Closed
m-triassi opened this issue Mar 11, 2022 · 0 comments · Fixed by #72
Closed

Show / enforce required fields #71

m-triassi opened this issue Mar 11, 2022 · 0 comments · Fixed by #72
Assignees
Labels
bug Something isn't working

Comments

@m-triassi
Copy link
Contributor

m-triassi commented Mar 11, 2022

Describe the bug

When updating media, a 500 error is thrown if required fields are passed as null.

To Reproduce

Steps to reproduce the behavior:

  1. Visit the media manager
  2. Click on a piece of media to get its details
  3. Leave a required field blank
  4. Save the media
  5. See that nothing happens.

Expected behavior

There should be a warning that tells the user they've omitted a required field

Additional context

We're essentially missing proper request validation and error passing to make this work right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant