[patch] Show "invisible" admin form errors
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If an error occurs when saving a model object in the admin interface, and the field in question is not set to display, one is notified that there is an error without actually being shown what that error is; this is a result of error messages being tied to display with the fields in question.
The patch attached checks for these "invisible" errors, and displays them above the form. This should aid in troubleshooting various issues, e.g., having a required field which isn't set to display in the model object's admin form.
Change History (5)
comment:2 Changed 11 years ago by
|Component:||Admin interface → Interface d'Admin|
|milestone:||→ Version 1,1|
|Type:||enhancement → défaut|