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

Add target creation form for updating an unknown target type. #1096

Conversation

jchate6
Copy link
Contributor

@jchate6 jchate6 commented Nov 1, 2024

This is a fix for an edge case of an edge case.

If a target is created in a way that bypasses validation, it can have no target type.
In this case, the update form will be unset.

This change lets the user USE the update form to set a type rather than just catching an exception or keeping the pariah target floating around causing other problems.

@jchate6 jchate6 merged commit c955934 into dev Nov 7, 2024
25 checks passed
@jchate6 jchate6 deleted the 325-return-a-more-coherent-error-on-targetupdateview-when-target-type-is-invalid branch November 7, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Return a more coherent error on TargetUpdateView when target type is invalid
2 participants