Code

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1352 closed défaut (wontfix)

[patch] Show "invisible" admin form errors

Reported by: Tom Tobin <korpios@…> Owned by: adrian
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: UI/UX:

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@…> 8 years ago.
Show "invisible" admin form errors (against r2306 of trunk)

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Tom Tobin <korpios@…>

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

comment:1 Changed 8 years ago by jacob

  • Resolution set to wontfix
  • Status changed from new to closed

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 Changed 8 years ago by anonymous

  • Component changed from Admin interface to Interface d'Admin
  • Keywords 1958 added
  • milestone set to Version 1,1
  • Type changed from enhancement to défaut
  • Version set to nouveau-new-admin

comment:3 Changed 8 years ago by ubernostrum

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

comment:4 Changed 7 years ago by korpios

  • Reporter changed from Tom Tobin <korpios@…> to Tom Tobin <korpios@…>

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.