]> 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:16:22 +0000 (14:16 -0500)
commit51a72503b0279ca71ee6f0454bfd36a4c84d508f
treee912d80c832d98ff9b5eb8d5ba499b1c15eb7791
parent2b4d028a69270c1c7918281a60280dd0b65963a2
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
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/strategies.py
test/orm/inheritance/test_relationship.py