]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Fixed bug in 0.7.6 introduced by
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Apr 2012 16:31:15 +0000 (12:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Apr 2012 16:31:15 +0000 (12:31 -0400)
commit8719cf3653b9f4209a6d8e774a03cd4c5d579b8b
tree28e739b13e613bda40dd35cdf192341fa03772c3
parent541e59c3d7c141cfe532b26b5fbf4b8a8d30b841
- [bug] Fixed bug in 0.7.6 introduced by
[ticket:2409] whereby column_mapped_collection
used against columns that were mapped as
joins or other indirect selectables
would fail to function.

Here, the serialize use case has gotten very complex since to
really target a column we'd need the root MetaData object,
then if we're hitting Alias objects and such there's really
nothing to hold onto.  Short of building a system where
Column objects have some kind of master hash identifier that
is consistently generated, the way this works can't really
suit every case - much easier would be to change the mechanics
of collections.py to make available the Mapper to the
collection adapter when it's first invoked.
CHANGES
lib/sqlalchemy/orm/collections.py
test/orm/test_collection.py