bug in client.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
High
|
Unassigned |
Bug Description
Fiddling with the client.py i found this error
i will write down the code first so u might understand where the problem is
-------
def insert_
event = Event()
event2 = Event()
#HERE I GET 9 items
#HERE I GET 13 items
#HERE I GET 126
def handle_
print len(x)
def handle_
print len(x)
def handle_events(self, x=None):
print "*************", len(x)
-------
here the output again:
9
13
************* 126
-------
AFAIK 9+13=22 and not 126!
somthing is wrong combining 2 event templates
Related branches
Changed in zeitgeist: | |
milestone: | none → 0.3.0 |
importance: | Undecided → High |
This bug is probably not in client.py, but rather inside resonance_ engine. py, where we generate the SQL in find_eventids(). If you can write a test case that triggers this, then that would be great.
I don't know what Siegfrieds state of the no-more-querymancer branch is - the SQL generation code is probably rewritten there...