-
Notifications
You must be signed in to change notification settings - Fork 147
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
minimal database seed silently fails #774
Comments
The problem is caused by a chain of silent failures. The following seed fails because of a missing foodsoft/db/seeds/minimal.seeds.rb Line 30 in 78c4ebc
As a result,
Finally, the validation fails. The form is re-rendered in order to show validation errors. However, no validation error is shown in this case (probably because the form does not have an input for the supplier category).
|
affected versions
steps to reproduce
SETUP_DEVELOPMENT.md
)expected behavior
The form data are posted, and the supplier is created.
actual behavior
The form data are posted, but the supplier is not created. Instead, the new-supplier form is rendered again. It does not show any validation errors.
The text was updated successfully, but these errors were encountered: