← Back to team overview

zeitgeist team mailing list archive

[Bug 771491] [NEW] Negative search terms don't cope with NULL columns

 

Public bug reported:

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.

** Affects: zeitgeist
     Importance: Medium
     Assignee: Siegfried Gevatter (rainct)
         Status: Triaged

** Changed in: zeitgeist
   Importance: Undecided => Medium

** Changed in: zeitgeist
       Status: New => Triaged

** Changed in: zeitgeist
    Milestone: None => 0.8.0

** Changed in: zeitgeist
     Assignee: (unassigned) => Siegfried Gevatter (rainct)

-- 
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.


Follow ups

References