]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Fixed Session accounting bug whereby replacing
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Oct 2012 14:52:14 +0000 (10:52 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Oct 2012 14:52:14 +0000 (10:52 -0400)
commitd778b2d6fb1533091d7e6c0ae5184eef337dbab4
treed4c2d0d961a165158f5e51deb2722d5948e49991
parent0bb5a9eab829f9a4cfda3c37cdf2202d84e55f3f
  - [bug] Fixed Session accounting bug whereby replacing
    a deleted object in the identity map with another
    object of the same primary key would raise a
   "conflicting state" error on rollback(),
    if the replaced primary key were established either
    via non-unitofwork-established INSERT statement
    or by primary key switch of another instance.
    [ticket:2583]
CHANGES
lib/sqlalchemy/orm/session.py
test/orm/test_transaction.py