Files
sqlalchemy/test
Mike Bayer 06af579db2 Cascade mappers in terms of the instance's mapper
Fixed a (extremely old) bug in cascade_mappers where the
first cascade we do is against the "self" mapper, and not the
one that actually corresponds to the state given. These are
different in the case where we start with a relationship
to a class, and the instance is of a subclass, which itself
can have relationships that aren't on the base mapper.

A pretty severe bug that somehow has avoided the radar
since the beginning.

Change-Id: I512956b9757b07e06f3ca1ccb507a33fb10bed31
Fixes: #3986
(cherry picked from commit 0f8721fa52)
2017-05-12 10:55:55 -04:00
..
2017-02-07 11:21:56 -05:00
2017-02-07 11:21:56 -05:00
2017-03-06 16:10:57 -05:00