#29969: Admin inline with view permission is shown when save_as validation fails
--------------------------------+------------------------------------
Reporter: Matija Kolarić | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Changes (by Tim Graham):
* severity: Release blocker => Normal
Comment:
Yea, the fix seems complicated enough that we might not consider this a
release blocker. If someone provides a patch while 2.1 is still in bug fix
mode, we could consider it. `ModelAdmin._changeform_view()` could copy
`object_id` to another variable before it's set to `None` on the line you
mentioned. Then the inline relations need to be copied to the new object
somehow. Maybe ` ModelAdmin._create_formsets()` could do it if `obj` is
the original object and then the new object is swapped out for it.
--
Ticket URL: <https://code.djangoproject.com/ticket/29969#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.c9fa491c2affad0e4349baf46728c855%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.