#36730: Model validation of constraints fails for *excluded* ForeignKeys 
referenced
by attname
-------------------------------------+-------------------------------------
     Reporter:  Adam Johnson         |                    Owner:  Adam
                                     |  Johnson
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  6.0
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by Adam Johnson:

Old description:

> Like #36433, but for the case where the foreign gets excluded by the form
> due to already being invalid. Another 6.0 release blocker, as forms that
> would validate before now crash with `FieldError`. Bisected to
> e44e8327d3d88d86895735c0e427102063ff5b55 as well.
>
> Reproduction repository: (pending)

New description:

 Like #36433, but for the case where the foreign gets excluded by the form
 due to already being invalid. Another 6.0 release blocker, as forms that
 would validate before now crash with `FieldError`. Bisected to
 e44e8327d3d88d86895735c0e427102063ff5b55 as well.

 Reproduction repository: https://github.com/adamchainz/django-ticket-36730

--
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36730#comment:1>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019a79995b74-2c6f65ec-4da7-4a4c-8f77-bb27e82fbe69-000000%40eu-central-1.amazonses.com.

Reply via email to