Negative search terms don't cope with NULL columns

Bug #771491 reported by Siegfried Gevatter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Medium
Siegfried Gevatter

Bug Description

The subject origin (and soon the event origin) columns may be NULL when an event/subject doesn't have a value for the field. However, the negation/wildcard handling code doesn't cope with this case.

This can be reproduced with the test case testFindWithEventOriginNegatedWildcard from https://code.launchpad.net/~zeitgeist/zeitgeist/db4fixes/+merge/59115.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

I propose the following solution for this problem.

Changed in zeitgeist:
assignee: nobody → Siegfried Gevatter (rainct)
importance: Undecided → Medium
milestone: none → 0.8.0
status: New → Triaged
Seif Lotfy (seif)
Changed in zeitgeist:
status: Triaged → Fix Committed
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.