]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug where "middle" class in a polymorphic hierarchy
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Feb 2011 23:11:17 +0000 (18:11 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Feb 2011 23:11:17 +0000 (18:11 -0500)
commitd8bb03124f65746ad742790717231b71290a7a9f
treecc5f1e01afec8acb2313ac26e68fc88179ce3977
parent7d3b671349f047bc47046d097deebf6cda819119
- Fixed bug where "middle" class in a polymorphic hierarchy
would have no 'polymorphic_on' column if it didn't also
specify a 'polymorphic_identity', leading to strange
errors upon refresh, wrong class loaded when querying
from that target. [ticket:2038]
CHANGES
lib/sqlalchemy/orm/mapper.py
test/ext/test_declarative.py
test/orm/inheritance/test_basic.py