]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Check for duplicate calls to register_attribute_impl
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 May 2016 15:05:30 +0000 (11:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 May 2016 15:06:53 +0000 (11:06 -0400)
commita9f74400b179e9d19e073a2a1e43cbffda6e1fad
tree2f55ff585067cfc30362006179b7d28e1c7f034c
parenteb0685e40f758693ac3679bc4c429c8a4177b0eb
Check for duplicate calls to register_attribute_impl

Fixed bug whereby the event listeners used for backrefs could
be inadvertently applied multiple times, when using a deep class
inheritance hierarchy in conjunction with mutiple mapper configuration
steps.

Change-Id: I712beaf4674e2323bf5b282922658020a6d00b53
Fixes: #3710
(cherry picked from commit 743e9d4589946f1a29cdec7f2f1a2e4ec0853db7)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/strategies.py
test/orm/test_mapper.py