Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#12973 closed (duplicate)

Changeset 12525 breaks delete selected admin action

Reported by: ptone Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: UI/UX:

Description

the additions to contrib/admin/options.py prevents the response_action method from running the action when being POSTed from the confirmation screen of the delete selected action.

This was added to fix another ticket, not sure what is the proper way to fix the original ticket without breakage.

Attachments (1)

modeladmin-12595.diff (1.4 KB) - added by ptone 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by ptone

comment:1 Changed 4 years ago by ptone

  • Has patch set
  • Needs documentation unset
  • Needs tests set
  • Patch needs improvement set

Attached a patch that passes the 'human' test. Sorry - still learning and don't know enough to create the proper code test.

comment:2 Changed 4 years ago by kmtracey

  • Resolution set to duplicate
  • Status changed from new to closed

This was already reported in #12962.

comment:3 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.