Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#1352 closed défaut (wontfix)

[patch] Show "invisible" admin form errors

Reported by: Tom Tobin <korpios@…> Owned by: Adrian Holovaty
Component: Interface d'Admin Version: nouveau-new-admin
Severity: normal Keywords: 1958
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Attachments (1)

trunk-show_invisible_field_errors.diff (1.5 KB ) - added by Tom Tobin <korpios@…> 18 years ago.
Show "invisible" admin form errors (against r2306 of trunk)

Download all attachments as: .zip

Change History (5)

by Tom Tobin <korpios@…>, 18 years ago

Show "invisible" admin form errors (against r2306 of trunk)

comment:1 by Jacob, 18 years ago

Resolution: wontfix
Status: newclosed

This patch feels hacky to me; can you investigate a more elegant way of rolling this in. (I'm unclear on why there would be invisible errors anyway, so perhaps that's the place to start). Marking wontfix to keep it off the radar until a new patch is submitted.

comment:2 by anonymous, 18 years ago

Component: Admin interfaceInterface d'Admin
Keywords: 1958 added
milestone: Version 1,1
Type: enhancementdéfaut
Version: nouveau-new-admin

comment:3 by James Bennett, 18 years ago

Problèmes en français... avec le nouveau-admin!

comment:4 by korpios, 17 years ago

Reporter: changed from Tom Tobin <korpios@…> to Tom Tobin <korpios@…>
Note: See TracTickets for help on using tickets.
Back to Top