Tasks are not synchronized: DUE must not be < DTSTART



  • Hi, I tried to synchronize tasks with my ownCloud (8.X) but it doesn't work as expected.
    CardDav and others calendars are synchronized, but not the tasks.
    Any idea ?

    SYNCHRONIZATION INFO
    Synchronization phase: 9
    Account name:  mymail@mymail.com
    Authority: org.dmfs.tasks
    
    EXCEPTION:
    java.lang.IllegalArgumentException: DUE must not be < DTSTART
    at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:167)
    at android.database.DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(DatabaseUtils.java:160)
    at android.content.ContentProviderProxy.applyBatch(ContentProviderNative.java:520)
    at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:377)
    at at.bitfire.ical4android.BatchOperation.commit(BatchOperation.java:49)
    at at.bitfire.ical4android.AndroidTask.add(AndroidTask.java:226)
    at at.bitfire.davdroid.syncadapter.TasksSyncManager.processVTodo(TasksSyncManager.java:200)
    at at.bitfire.davdroid.syncadapter.TasksSyncManager.downloadRemote(TasksSyncManager.java:166)
    at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:170)
    at at.bitfire.davdroid.syncadapter.TasksSyncAdapterService$SyncAdapter.onPerformSync(TasksSyncAdapterService.java:75)
    at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    
    SOFTWARE INFORMATION
    DAVdroid version: 1.0.8 (99) Wed Apr 27 09:44:38 GMT+02:00 2016
    Installed from: org.fdroid.fdroid
    JB Workaround installed: no
    
    CONFIGURATION
    System-wide synchronization: automatically
    Account: mymail@mymail.com
    Address book sync. interval: 240 min
    Calendar sync. interval: 240 min
    OpenTasks sync. interval: 240 min
    
    SQLITE DUMP
    android_metadata
    | locale |
    | fr_FR |
    ----------
    settings
    | setting | value |
    ----------
    services
    | _id | accountName | service | principal |
    | 1 | mymail@mymail.com | carddav | https://myowncloud/remote.php/carddav/principals/charles/ |
    | 2 | mymail@mymail.com | caldav | https://myowncloud/remote.php/caldav/principals/charles/ |
    ----------
    sqlite_sequence
    | name | seq |
    | services | 2 |
    | homesets | 2 |
    | collections | 4 |
    ----------
    homesets
    | _id | serviceID | url |
    | 1 | 1 | https://myowncloud/remote.php/carddav/addressbooks/charles/ |
    | 2 | 2 | https://myowncloud/remote.php/caldav/calendars/charles/ |
    ----------
    collections
    | _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync |
    | 1 | 1 | https://myowncloud/remote.php/carddav/addressbooks/charles/contacts/ | 0 | Contacts | <null> | <null> | <null> | <null> | <null> | 1 |
    | 2 | 2 | https://myowncloud/remote.php/caldav/calendars/charles/contact_birthdays/ | 0 | Anniversaires des contacts | <null> | -3355444 | <null> | 1 | 0 | 0 |
    | 3 | 2 | https://myowncloud/remote.php/caldav/calendars/charles/planning/ | 0 | Planning | <null> | -256 | <null> | 1 | 1 | 1 |
    | 4 | 2 | https://myowncloud/remote.php/caldav/calendars/charles/personnel/ | 0 | ENT | <null> | -65536 | <null> | 1 | 1 | 1 |
    ----------
    
    SYSTEM INFORMATION
    Android version: 5.1.1 (cm_i9100-userdebug 5.1.1 LMY48Y 94e1372c6d test-keys)
    Device: Samsung GT-I9100 (GT-I9100)
    

  • developer

    java.lang.IllegalArgumentException: DUE must not be < DTSTART

    This is because the DUE of a task must not be before the DTSTART. Please fix your tasks.



  • You're right !
    Two of my tasks have false deadlines.
    Thanks


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.