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

Fixes: #17498 - Handle "manufacturer" field with a validation error on non-unique values in DeviceTypeImportForm #17593

Merged

Conversation

bctiemann
Copy link
Contributor

Fixes: #17498

Changes DeviceTypeImportForm.manufacturer to a CSVModelChoiceField, ensuring that non-unique values will raise a validation error rather than crashing with an opaque 500.

@jeremystretch jeremystretch merged commit cc6f21d into develop Sep 26, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 17498-devicetype-manufacturer-CSVModelChoiceField branch September 26, 2024 19:17
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bulk Import: Non-unique related field value leads to 500 error
2 participants