ZeitgeistEngine.get_events() returns wrong result if there are duplicates in the ids argument

Bug #673916 reported by Markus Korn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
High
Markus Korn

Bug Description

As of today, ZeitgeistEngine.get_events([1, 1]) returns [None, <Event with id=1>] instead of [<Event with id=1>, <Event with id=1>]
This worked in rev1629 but is not working in rev 1631 anymore.

Related branches

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

As a starting-point to fix this bug I attached a branch with a testcase

Changed in zeitgeist:
importance: Undecided → High
milestone: none → 0.7.0
Markus Korn (thekorn)
Changed in zeitgeist:
assignee: nobody → Markus Korn (thekorn)
status: New → In Progress
Markus Korn (thekorn)
Changed in zeitgeist:
status: In Progress → Fix Committed
Seif Lotfy (seif)
Changed in zeitgeist:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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