Ticket #2765 (closed enhancement: fixed)
Demo login error messages
Reported by: | aron.carroll | Owned by: | aron.carroll |
---|---|---|---|
Priority: | minor | Milestone: | demo phase 3 |
Component: | ckan | Keywords: | demo-theme |
Cc: | Repository: | ckan | |
Theme: | none |
Description
I'd suggest we add a generic "failed to login, invalid fields" in the error_summary block. Then more specific "this field is required" when a required field is left empty.
So in general, provide an error dict
Change History
Note: See
TracTickets for help on using
tickets.
@aron,
I've added a data summary
The data errors for empty fields are not happening due to our use of repoze.who for logins which is crap and doesn't provide feedback re loggin details so not possible without hacking repoze which i'm not doing.
Could you look at cleaning up the error summary we don't supply a field name (key) as not relevant it would be nice if we could hide the : also removing the invalid fields message would be good to hide maybe add this as an option to the macro