I propose the following solution for this problem.

** Patch added: "Proposed patch"
   
https://bugs.launchpad.net/zeitgeist/+bug/771491/+attachment/2090664/+files/bug771491.diff

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/771491

Title:
  Negative search terms don't cope with NULL columns

Status in Zeitgeist Framework:
  Triaged

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.

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to