Fastmail Calendar Certain Event not Saved



  • I'm able to create a basic calendar entry and see it saved to my Fastmail calendar, but a certain event is not saved. Possibly the problem is that it's an all-day event.

    Debug info follows:

    --- BEGIN DEBUG INFO ---
    Account name: matt.miller@fastmail.com
    Authority: com.android.calendar
    
    HTTP REQUEST:
    Request{method=PUT, url=https://caldav-d49.fastmail.com/dav/calendars/user/xthx1138@fastmail.fm/d3e3c8fd-81a3-4418-9e3a-9464d64e9ac9/68qj6dj2coq30bb26hgjcb9k68s3ib9o68o3eb9m60p36dr36ssj4o9g68, tags={}}
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:+//IDN bitfire.at//DAVdroid/2.0.4-gplay ical4j/2.2.0
    BEGIN:VEVENT
    DTSTAMP:20181101T185424Z
    UID:
    SUMMARY:Surgery
    DTSTART;VALUE=DATE:20181102
    DTEND;VALUE=DATE:20181103
    TRANSP:TRANSPARENT
    END:VEVENT
    END:VCALENDAR
    
    
    HTTP RESPONSE:
    Response{protocol=http/1.1, code=403, message=Forbidden, url=https://caldav-d49.fastmail.com/dav/calendars/user/xthx1138@fastmail.fm/d3e3c8fd-81a3-4418-9e3a-9464d64e9ac9/68qj6dj2coq30bb26hgjcb9k68s3ib9o68o3eb9m60p36dr36ssj4o9g68}
    <?xml version="1.0" encoding="utf-8"?>
    <D:error xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
      <C:valid-calendar-object-resource/>
    </D:error>
    
    
    
    LOCAL RESOURCE:
    LocalEvent=[eTag=null, fileName=68qj6dj2coq30bb26hgjcb9k68s3ib9o68o3eb9m60p36dr36ssj4o9g68, flags=0, weAreOrganizer=true, calendar=at.bitfire.davdroid.resource.LocalCalendar@3276987, event=Event=[alarms=[], attendees=[], classification=null, color=null, description=null, dtEnd=DTEND;VALUE=DATE:20181103, dtStart=DTSTART;VALUE=DATE:20181102, duration=null, exDates=[], exRule=null, exceptions=[], lastModified=null, location=null, opaque=false, organizer=null, rDates=[], rRule=null, recurrenceId=null, status=null, summary=Surgery, unknownProperties=[], sequence=0, uid=null, shadow$_klass_=class at.bitfire.ical4android.Event, shadow$_monitor_=0], id=7791, shadow$_klass_=class at.bitfire.davdroid.resource.LocalEvent, shadow$_monitor_=0]
    
    REMOTE RESOURCE:
    https://caldav-d49.fastmail.com/dav/calendars/user/xthx1138@fastmail.fm/d3e3c8fd-81a3-4418-9e3a-9464d64e9ac9/68qj6dj2coq30bb26hgjcb9k68s3ib9o68o3eb9m60p36dr36ssj4o9g68
    
    EXCEPTION:
    at.bitfire.dav4android.exception.HttpException: HTTP 403 Forbidden
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.kt:283)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.kt:259)
    	at at.bitfire.dav4android.DavResource.put(DavResource.kt:165)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$1$1.invoke(SyncManager.kt:323)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$1$1.invoke(SyncManager.kt:55)
    	at at.bitfire.davdroid.syncadapter.SyncManager.useRemote(SyncManager.kt:774)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$1.invoke(SyncManager.kt:310)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$1.invoke(SyncManager.kt:55)
    	at at.bitfire.davdroid.syncadapter.SyncManager.useLocal(SyncManager.kt:760)
    	at at.bitfire.davdroid.syncadapter.SyncManager.uploadDirty(SyncManager.kt:301)
    	at at.bitfire.davdroid.syncadapter.SyncManager$performSync$1.invoke(SyncManager.kt:123)
    	at at.bitfire.davdroid.syncadapter.SyncManager$performSync$1.invoke(SyncManager.kt:55)
    	at at.bitfire.davdroid.syncadapter.SyncManager.unwrapExceptions(SyncManager.kt:800)
    	at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.kt:109)
    	at at.bitfire.davdroid.syncadapter.CalendarsSyncAdapterService$CalendarsSyncAdapter.sync(CalendarsSyncAdapterService.kt:56)
    	at at.bitfire.davdroid.syncadapter.SyncAdapterService$SyncAdapter.onPerformSync(SyncAdapterService.kt:97)
    	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)
    
    SOFTWARE INFORMATION
    Package: at.bitfire.davdroid
    Version: 2.0.4-gplay (245) from Sep 8, 2018
    Installed from: com.android.vending
    JB Workaround installed: no
    
    CONNECTIVITY (at the moment)
    Active connection: WiFi, CONNECTED
    
    CONFIGURATION
    Power saving disabled: yes
    android.permission.READ_CONTACTS permission: granted
    android.permission.WRITE_CONTACTS permission: granted
    android.permission.READ_CALENDAR permission: granted
    android.permission.WRITE_CALENDAR permission: granted
    org.dmfs.permission.READ_TASKS permission: granted
    org.dmfs.permission.WRITE_TASKS permission: granted
    System-wide synchronization: automatically
    Account: matt.miller@fastmail.com
      Address book sync. interval: 240 min
      Calendar     sync. interval: 240 min
      OpenTasks    sync. interval: 240 min
      WiFi only: true
      [CardDAV] Contact group method: GROUP_VCARDS
      [CalDAV] Time range (past days): 90
               Manage calendar colors: true
    Address book account: Default (matt.miller@fastmail.com OA)
      Main account: Account {name=matt.miller@fastmail.com, type=bitfire.at.davdroid}
      URL: https://carddav-d49.fastmail.com/dav/addressbooks/user/xthx1138@fastmail.fm/Default/
      Sync automatically: true
    Address book account: Global Address Book (matt.miller@fastmail.com /g)
      Main account: Account {name=matt.miller@fastmail.com, type=bitfire.at.davdroid}
      URL: https://carddav-d49.fastmail.com/dav/addressbooks/user/xthx1138@fastmail.fm/masteruser_autoqufaxac@fastmail.com.Shared/
      Sync automatically: true
    
    SQLITE DUMP
    android_metadata
    	|  locale |
    	|  en_US |
    ----------
    services
    	|  _id | accountName | service | principal |
    	|  3 | matt.miller@fastmail.com | carddav | https://carddav-d49.fastmail.com/dav/principals/user/xthx1138@fastmail.fm/ |
    	|  4 | matt.miller@fastmail.com | caldav | https://caldav-d49.fastmail.com/dav/principals/user/xthx1138@fastmail.fm/ |
    ----------
    sqlite_sequence
    	|  name | seq |
    	|  services | 4 |
    	|  homesets | 5 |
    	|  collections | 11 |
    ----------
    homesets
    	|  _id | serviceID | url |
    	|  4 | 3 | https://carddav-d49.fastmail.com/dav/addressbooks/user/xthx1138@fastmail.fm/ |
    	|  5 | 4 | https://caldav-d49.fastmail.com/dav/calendars/user/xthx1138@fastmail.fm/ |
    ----------
    collections
    	|  _id | serviceID | type | url | privWriteContent | privUnbind | forceReadOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | source | sync |
    	|  8 | 3 | ADDRESS_BOOK | https://carddav-d49.fastmail.com/dav/addressbooks/user/xthx1138@fastmail.fm/Default/ | 1 | 1 | 0 | Default | <null> | <null> | <null> | 0 | 0 | <null> | 1 |
    	|  9 | 3 | ADDRESS_BOOK | https://carddav-d49.fastmail.com/dav/addressbooks/user/xthx1138@fastmail.fm/masteruser_autoqufaxac@fastmail.com.Shared/ | 1 | 0 | 0 | Global Address Book | <null> | <null> | <null> | 0 | 0 | <null> | 1 |
    	|  10 | 4 | CALENDAR | https://caldav-d49.fastmail.com/dav/calendars/user/xthx1138@fastmail.fm/369f1e00-a43f-4c0b-9d55-4e4072ce3599/ | 1 | 1 | 0 | Matt Miller | <null> | -14963208 | <null> | 1 | 1 | <null> | 1 |
    	|  11 | 4 | CALENDAR | https://caldav-d49.fastmail.com/dav/calendars/user/xthx1138@fastmail.fm/d3e3c8fd-81a3-4418-9e3a-9464d64e9ac9/ | 1 | 1 | 0 | Becky | <null> | -15767025 | <null> | 1 | 1 | <null> | 1 |
    ----------
    
    SYSTEM INFORMATION
    Android version: 6.0.1 (AAV985)
    Device: blackberry STV100-2 (venice)
    
    --- END DEBUG INFO ---
    
    

  • developer

    @bromattmiller Hello,

    Thanks for your report.

    The UID is not set by DAVdroid, which should never happen. How did you create the event? Please provide verbose steps to reproduce the problem.



  • @rfc2822 I'm not able to reproduce the problem now. All attempts to create calendar entries of different types are working. If the error repeats I'll let you know. Thanks.