#27595: Database converters are not run for related fields referencing related
fields
-------------------------------------+-------------------------------------
     Reporter:  oyooyo               |                    Owner:  Tim
                                     |  Graham <timograham@…>
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.10
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * owner:  (none) => Tim Graham <timograham@…>


Comment:

 In [changeset:"5e3463f6bcec818431f0e1f4649d6a5bd944c459" 5e3463f6]:
 {{{
 #!CommitTicketReference repository=""
 revision="5e3463f6bcec818431f0e1f4649d6a5bd944c459"
 Fixed #27595 -- Made ForeignKey.get_col() follow target chains.

 Previously, foreign relationships were followed only one level deep which
 prevents foreign keys to foreign keys from being resolved appropriately.
 This was causing issues such as improper database value conversion for
 UUIDField on SQLite because the resolved expression's output field's
 internal type wasn't correct. Added tests to make sure unlikely foreign
 reference cycles don't cause recursion errors.

 Refs #24343.

 Thanks oyooyo for the report and Wayne Merry for the investigation.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/27595#comment:12>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.a3f211f68a11f66c70bafad1bf421c3b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to