Can't remove the dueDate to a task

6 views
Skip to first unread message

sysmo...@gmail.com

unread,
Jun 1, 2017, 10:59:40 AM6/1/17
to jec users, noe.b...@sysmosoft.com
Hello,

We have an issue while integrating Task in our application.

It's currently not possible to remove the dueDate to an existing task.
It seems that if the dueDate value is null, the updated value is not sent to Exchange.

The following test reproduce the issue.

                EWSTaskDTO ewsTask = new EWSTaskDTO();

                ewsTask.setSubject("Test");

                ewsTask.setDueDate(new Date());

                String[] idVersion = connector.createTask(ewsTask);



                ewsTask = connector.getFullTask(idVersion[0]);

                assertNotNull(ewsTask.getDueDate());



                ewsTask.setDueDate(null);

                connector.updateTask(ewsTask);



                ewsTask = connector.getFullTask(idVersion[0]);

                assertNull(ewsTask.getDueDate());


Regards,


Noé

jonathan sanders

unread,
Jun 1, 2017, 11:26:35 AM6/1/17
to jec users2, noe.b...@sysmosoft.com
Hi,
I will check it.

Best Regards,
Jonathan Sanders,
NetComps LTD


--
You received this message because you are subscribed to the Google Groups "jec users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jec-users2+unsubscribe@googlegroups.com.
To post to this group, send email to jec-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/jec-users2.
For more options, visit https://groups.google.com/d/optout.

jonathan sanders

unread,
Jun 2, 2017, 4:01:24 AM6/2/17
to jec users2, noe.b...@sysmosoft.com
You can't remove it if you already have it (MS EWS issue).
--
Best Regards,
Jonathan Sanders,
Developer & Support Eng,
NetComps LTD
Reply all
Reply to author
Forward
0 new messages