Opened 12 years ago

Closed 12 years ago

#18550 closed Bug (fixed)

history_view shows no log entries for PKs requiring unqote()

Reported by: josh.oosterman@… Owned by: nobody
Component: contrib.admin Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

An object with an object_id like 'foo:bar' will never show any history records because history_view doesn't unquote it.

Partial fix in #12349 touched object lookup but not LogEntry lookup.

Attachments (1)

unquote_history_view.patch (1.9 KB ) - added by josh.oosterman@… 12 years ago.

Download all attachments as: .zip

Change History (3)

by josh.oosterman@…, 12 years ago

Attachment: unquote_history_view.patch added

comment:1 by Julien Phalip, 12 years ago

Triage Stage: UnreviewedReady for checkin

Thanks. I'll push the fix in a moment.

comment:2 by Julien Phalip <jphalip@…>, 12 years ago

Resolution: fixed
Status: newclosed

In [2cd4cf58d32c5d4b163a466f608dff31bac66b87]:

Fixed #18550 -- Ensured that the admin history view works with escaped primary keys.
Thanks to josh.oosterman for the report and patch.

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