]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Adapt from "localparent" in joinedloader
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 Jan 2017 19:16:22 +0000 (14:16 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 Jan 2017 19:21:20 +0000 (14:21 -0500)
commitc04af8e481ee9488ca1f9c8d569cc2f4488e284c
treeff5f100a3b175975ef4be8c6a958ab302551015a
parent45a268b1b09669de80e1104bc2730322beda2db6
Adapt from "localparent" in joinedloader

Fixed bug involving joined eager loading against multiple entities
when polymorphic inheritance is also in use which would throw
"'NoneType' object has no attribute 'isa'".  The issue was introduced
by the fix for :ticket:`3611`.

Change-Id: I296ecda38c01ec8f69dcd843beaebed6949cecfa
Fixes: #3884
(cherry picked from commit 51a72503b0279ca71ee6f0454bfd36a4c84d508f)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/strategies.py
test/orm/inheritance/test_relationship.py