← Back to team overview

zeitgeist team mailing list archive

Re: [Bug 566184] Re: Deletes are not committed

 

i now get
======================================================================
FAIL: testDeleteSingle (__main__.ZeitgeistEngineTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/engine-test.py", line 127, in testDeleteSingle
    self.assertEquals(0, len(filter(None, result)))
AssertionError: 0 != 1


On Sun, Apr 18, 2010 at 9:56 PM, Mikkel Kamstrup Erlandsen <
mikkel.kamstrup@xxxxxxxxx> wrote:

> Fixed in r1415
>
> --
> Deletes are not committed
> https://bugs.launchpad.net/bugs/566184
> You received this bug notification because you are subscribed to The
> Zeitgeist Project.
>
> Status in Zeitgeist Framework: Fix Committed
>
> Bug description:
> When we do engine.delete_events(ids) we never call commit() on the sqlite3
> connection. This means that if the engine is shut down before we've
> committed because of other circumstances (eg. insert_events()) then the
> deleted items will reappear
>
>
>
>

-- 
Deletes are not committed
https://bugs.launchpad.net/bugs/566184
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Fix Committed

Bug description:
When we do engine.delete_events(ids) we never call commit() on the sqlite3 connection. This means that if the engine is shut down before we've committed because of other circumstances (eg. insert_events()) then the deleted items will reappear





References