← 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

 

I'm removing the attached branch, since the initial issue is not fixed
by this changes (maybe indirectly=

** Branch unlinked: lp:~seif/zeitgeist/fix-641968

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

-- 
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: Confirmed

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