Extraneous actors are inserted into sqlite database during read-only operations

Bug #953041 reported by Trever Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
High
Trever Fischer

Bug Description

Example code:

import time, os
from gi.repository import GObject
from zeitgeist.client import ZeitgeistClient
from zeitgeist.datamodel import Event, Subject, Interpretation
zg = ZeitgeistClient()

event_template = Event()
event_template.actor = "foo"

mainloop = GObject.MainLoop()

def callback(events):
    print len(events)
    mainloop.quit()

zg.find_events_for_templates([event_template], callback, num_events=100, result_type=0)
mainloop.run()

Searching the actors table in sqlite shows a "foo" actor after execution.

Changed in zeitgeist:
importance: Undecided → High
milestone: none → 0.9.0
Seif Lotfy (seif)
Changed in zeitgeist:
status: New → Confirmed
Seif Lotfy (seif)
Changed in zeitgeist:
status: Confirmed → In Progress
Michal Hruby (mhr3)
Changed in zeitgeist:
assignee: nobody → Trever Fischer (tdfischer)
Revision history for this message
Siegfried Gevatter (rainct) wrote :

@ Trever Fischer: Thanks! Can you please also add a test case to ensure this problem doesn't creep back?

Changed in zeitgeist:
status: In Progress → Fix Committed
Seif Lotfy (seif)
Changed in zeitgeist:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.