Opened 5 years ago

Closed 5 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


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@… 5 years ago.
databrowse.datastructures patch
django-databrowse-fix-crash-on-null-foreign-keys.patch (651 bytes) - added by aaugustin 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by mstefanro@…

databrowse.datastructures patch

comment:1 Changed 5 years ago by aaugustin

  • Easy pickings unset
  • Needs documentation unset
  • Needs tests set
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by aaugustin

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

comment:3 Changed 5 years ago by ptone

  • Resolution set to wontfix
  • Status changed from new to closed
  • UI/UX unset

Databrowse is now deprecated, see #16907

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