Opened 9 years ago

Closed 9 years ago

#25058 closed Bug (fixed)

GenericRelation with related_query_name related instances not shown on delete confirmation page

Reported by: Federico Jaramillo Martínez Owned by: Sarthak Mehrish
Component: contrib.admin Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

When deleting an object with a GenericRelation and related_query_name, the related instances are not shown on the confirmation page.

Instances are actually deleted and the confirmation page show the correct count of related instances to be deleted.

Related to #24940, which fixes an issue where it wasn't possible to delete the instances.

Attachments (1)

Screen Shot 2015-07-03 at 7.31.41.png (41.0 KB ) - added by Federico Jaramillo Martínez 9 years ago.

Download all attachments as: .zip

Change History (8)

by Federico Jaramillo Martínez, 9 years ago

comment:1 by Tim Graham, 9 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

I can reproduce the issue. For the regression test, we should be able to make some additions to the test added in d3d66d47222dd8765a20a15fdc754c0ed7635404.

comment:2 by Anderson Resende, 9 years ago

Owner: changed from nobody to Anderson Resende
Status: newassigned

comment:3 by Sarthak Mehrish, 9 years ago

Owner: changed from Anderson Resende to Sarthak Mehrish

comment:5 by Tim Graham, 9 years ago

Needs tests: set

comment:6 by Sarthak Mehrish, 9 years ago

Needs tests: unset

comment:7 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In 40bf18e7:

Fixed #25058 -- Added GenericRelations with related_query_name to the admin's delete confirmation page.

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