querying for events with specified actors

Reported by Seif Lotfy on 2009-12-13
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

Seif Lotfy (seif) wrote :
Markus Korn (thekorn) on 2009-12-13
security vulnerability: yes → no
visibility: private → public
Markus Korn (thekorn) on 2009-12-13
Changed in zeitgeist:
status: New → Confirmed
importance: Undecided → High
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.

Markus Korn (thekorn) wrote :

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

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
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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments