Opened 67 minutes ago

Last modified 4 minutes ago

#37327 assigned Cleanup/optimization

Improve IncorrectLookupParameters admin error message

Reported by: Tim Schilling Owned by: Md. Saikat Islam
Component: contrib.admin Version: dev
Severity: Normal Keywords: messaging
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

This is based on leunga1000's PR. The ModelAdmin.changelist_view's handling of IncorrectLookupParameters presents a page title of "Database error" for the particular exception of IncorrectLookupParameters. Since the user is already past authentication and authorization, we should give them more information that the querystring had an error. I would suggest "Incorrect lookup" or "Incorrect lookup in query string" depending on how technical we want to get.

I agree with leunga1000's assessment that this message is a bit cryptic and think we should make a change.

Change History (2)

comment:1 by Tim Schilling, 34 minutes ago

Type: UncategorizedCleanup/optimization

comment:2 by Md. Saikat Islam, 4 minutes ago

Owner: set to Md. Saikat Islam
Status: newassigned
Triage Stage: UnreviewedAccepted

Seems valid issue. The error message should be improved. I am taking it.

Note: See TracTickets for help on using tickets.
Back to Top