← Back to team overview

zeitgeist team mailing list archive

[Bug 641968] [NEW] querying on LeastRecentActor for a certain subject_uri is not working

 

Public bug reported:

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.

** Affects: zeitgeist
     Importance: Undecided
         Status: New

-- 
querying on LeastRecentActor 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: New

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.





Follow ups

References