← Back to team overview

zeitgeist team mailing list archive

[Bug 641968] Re: querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working

 

** Changed in: zeitgeist
       Status: Confirmed => In Progress

** Changed in: zeitgeist
     Assignee: (unassigned) => Seif Lotfy (seif)

-- 
querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working
https://bugs.launchpad.net/bugs/641968
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: In Progress

Bug description:
Scenario: I would like to know which actor touched a file with uri="home/boo" least recently.

This query should do the job:
>>> template = Event.new_for_values(subject_uri="home/boo")
>>> ids = engine.find_eventids(TimeRange.always(), [template, ], StorageState.Any, 0, ResultType.LeastRecentActor)

However as you can see in the attached script this does always return an empty result. It looks like LeastRecentActor plus any search template is not working.





References