04-25-2009, 08:44 AM
Knows Where the Search Button Is
Join Date: Feb 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | BlackBerryToDo
Please Login to Remove!
When I create a new BlackBerryToDo object and just set needed fields everything works fine, I mean commit() doesn't throws any exception.
The problems are when I want to remove some field, say I set RepeatRule null,
or I want to remove a due date, then when commit() is called, it throws NullPointerException (which I think is related to RepeatRule).
Though the todo gets saved, when I try to open it in native bb-tasks application, it is only shows on the tasks list, but doesn't get opened.
In addition, EventLog has the following entry:
What is the way to remove fields?
Now I use removeDate() (or something like this) and setRepeat(null),
but seems like it's not the right way :(