#24343: UUID foreign key accessor returns inconsistent type
-------------------------------------+-------------------------------------
     Reporter:  Tim Graham           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.8alpha1
  (models, ORM)                      |
     Severity:  Release blocker      |               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
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 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/24343#comment:9>
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/067.3174b434da00f03aa2c92c42134d4bb3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to