1 | | Fixed by 5e3463f6bcec818431f0e1f4649d6a5bd944c459. |
| 1 | In 5e3463f6bcec818431f0e1f4649d6a5bd944c459: |
| 2 | |
| 3 | Fixed #27595 -- Made ForeignKey.get_col() follow target chains. |
| 4 | |
| 5 | Previously, foreign relationships were followed only one level deep which |
| 6 | prevents foreign keys to foreign keys from being resolved appropriately. |
| 7 | This was causing issues such as improper database value conversion for |
| 8 | UUIDField on SQLite because the resolved expression's output field's |
| 9 | internal type wasn't correct. Added tests to make sure unlikely foreign |
| 10 | reference cycles don't cause recursion errors. |
| 11 | |
| 12 | Refs #24343. |
| 13 | |
| 14 | Thanks oyooyo for the report and Wayne Merry for the investigation. |