ForeignKeyRawIdWidget render throws uncaught exception if value does not exist
|Reported by:||Joshua Russo||Owned by:||nobody|
|Severity:||Keywords:||ForeignKeyRawIdWidget widget admin render uncaught exception|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The label_for_value() method will (rightfully) throw an exception saying that the record does not exist if the user types a value that doesn't exist. The clean() method will have already caught the error but because of the uncaught exception in the render you never that.