Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

PIM Find doesn't work for null Date Values #63

Open
jeffheifetz opened this Issue · 0 comments

1 participant

Jeffrey Heifetz
Jeffrey Heifetz

The following code will fails to return tasks without a due date value

var noDueFilterExpression = new blackberry.find.FilterExpression("due", "==", null);
result = blackberry.pim.Task.find(noDueFilterExpression, "priority", -1, true);

The problem can be traced down to the filterExpression always failing when the date value is null . The code can be found here -
https://github.com/blackberry/WebWorks/blob/master/api/find/src/main/java/blackberry/find/ExpressionTester.java#L170

This means that no PIM find abilities will work when searching for null date values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.