Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Open
jeffheifetz opened this Issue Oct 28, 2011 · 0 comments

Comments

Projects
None yet
1 participant

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