1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 19:52:21 -05:00

Caldav: Revert commit 765, VTODO events have a null instancetype

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@847 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-11-22 21:52:53 +00:00
parent 8c9d1d8968
commit db0be1fe86

View File

@ -1738,6 +1738,8 @@ public class ExchangeSession {
String searchQuery = "Select \"DAV:getetag\", \"http://schemas.microsoft.com/exchange/permanenturl\"" + String searchQuery = "Select \"DAV:getetag\", \"http://schemas.microsoft.com/exchange/permanenturl\"" +
" FROM Scope('SHALLOW TRAVERSAL OF \"" + folderPath + "\"')\n" + " FROM Scope('SHALLOW TRAVERSAL OF \"" + folderPath + "\"')\n" +
" WHERE (" + " WHERE (" +
// VTODO events have a null instancetype
" \"urn:schemas:calendar:instancetype\" is null OR" +
" \"urn:schemas:calendar:instancetype\" = 1\n" + " \"urn:schemas:calendar:instancetype\" = 1\n" +
" OR (\"urn:schemas:calendar:instancetype\" = 0\n" + " OR (\"urn:schemas:calendar:instancetype\" = 0\n" +
dateCondition + dateCondition +