querying for events with specified actors

Bug #496109 reported by Seif Lotfy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
High
Unassigned

Bug Description

When querying for events with specified actors i get the following scenarios.
1) events for actors exists and i get the right events back (Which is ok)
2) actor does not exists so events shouldnt exist either, HOWEVER I get back some set of events that makes no sense to me
I couldnt produce it over test cases but i added a script that will demo it.

Related branches

Revision history for this message
Seif Lotfy (seif) wrote :
Markus Korn (thekorn)
security vulnerability: yes → no
visibility: private → public
Markus Korn (thekorn)
Changed in zeitgeist:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Markus Korn (thekorn) wrote :

revno 1222 has a remote testcase for this bug, which fails.
A testcase which does the same on engine level works just fine.

Revision history for this message
Markus Korn (thekorn) wrote :

My last comment is kind of wrong, I adjusted the engine testcase in my last commit to fail too

Revision history for this message
Markus Korn (thekorn) wrote :

I think this is a case where "where.may_have_results()" in resonance_engine.py line 569 should return True (which results in find_eventids returning an empty list), but it does not work this way.
I think someone with a full understanding of the logic going on there should be able to provide a quick fix, Siegfried?

Changed in zeitgeist:
status: Confirmed → Triaged
milestone: none → 0.3.1
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Fixed.

(This was a new regression, release 0.3.0 wasn't affected by it.)

Changed in zeitgeist:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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