blackberry/WebWorks — Issue #63: PIM Find doesn't work for null Date Values
Author: jeffheifetz
Created: 2011-10-28 19:55:40+00:00
State: open

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