[Checkins] [zopefoundation/mongopersist] 697450: Don't forget about removed objects

GitHub noreply at github.com
Wed Aug 13 16:36:17 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/mongopersist
  Commit: 697450a2f1a621953513afb80b7a8e13a4f0d07d
      https://github.com/zopefoundation/mongopersist/commit/697450a2f1a621953513afb80b7a8e13a4f0d07d
  Author: Andrey Lebedev <andrey at lebedev.lt>
  Date:   2014-08-13 (Wed, 13 Aug 2014)

  Changed paths:
    M src/mongopersist/datamanager.py
    M src/mongopersist/tests/test_datamanager.py

  Log Message:
  -----------
  Don't forget about removed objects

If we insert an object and then remove it, but modify it after that,
it gets re-inserted to the database. This patch fixes this behaviour.


  Commit: 2b6633741b5a943110c9e021e0f9d876cb964c60
      https://github.com/zopefoundation/mongopersist/commit/2b6633741b5a943110c9e021e0f9d876cb964c60
  Author: Andrey Lebedev <andrey at lebedev.lt>
  Date:   2014-08-13 (Wed, 13 Aug 2014)

  Changed paths:
    M src/mongopersist/datamanager.py

  Log Message:
  -----------
  Do not fail if original state is not found for removed object

This is similar of what we do with mofified objects in this case.


  Commit: d7a010c12d7bb1a7e9bf8477cf4792405fc458de
      https://github.com/zopefoundation/mongopersist/commit/d7a010c12d7bb1a7e9bf8477cf4792405fc458de
  Author: Andrey Lebedev <andrey at lebedev.lt>
  Date:   2014-08-13 (Wed, 13 Aug 2014)

  Changed paths:
    M setup.py

  Log Message:
  -----------
  Version increment


Compare: https://github.com/zopefoundation/mongopersist/compare/f344ecde1932...d7a010c12d7b


More information about the checkins mailing list