]> 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:10:07 +0000 (18:10 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Feb 2011 23:10:07 +0000 (18:10 -0500)
commitc5b4938a9a2918a14397cff3edcee8c69ca249ea
treed9d4dd5e3d4ad74c2ba271dc36dcc6373854c759
parent5a2c332f5e2faf321a89e93d5d183d7ec3767084
- 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