Opened 13 years ago

Closed 13 years ago

#15792 closed Bug (wontfix)

databrowse attempting to create urls out of non-models

Reported by: mstefanro@… Owned by: nobody
Component: contrib.databrowse Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When databrowse creates links on row view pages, it does not take into account for null foreign keys and can end up calling a method on a NoneType.

Attachments (2)

databrowse.datastructures.diff (1.2 KB ) - added by mstefanro@… 13 years ago.
databrowse.datastructures patch
django-databrowse-fix-crash-on-null-foreign-keys.patch (651 bytes ) - added by Aymeric Augustin 13 years ago.

Download all attachments as: .zip

Change History (5)

by mstefanro@…, 13 years ago

databrowse.datastructures patch

comment:1 by Aymeric Augustin, 13 years ago

Easy pickings: unset
Needs tests: set
Triage Stage: UnreviewedAccepted

comment:2 by Aymeric Augustin, 13 years ago

I hit that bug myself some time ago and solved it with a different patch (attached).

comment:3 by Preston Holmes, 13 years ago

Resolution: wontfix
Status: newclosed
UI/UX: unset

Databrowse is now deprecated, see #16907

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