Hi davdroid Team,

I have problem setting up the following:

Server: davMail
Client: 2.0.4-gplay (245) from 08.09.2018

Resources:
[A] https://caldav.organization.org/users/username@organization.org/calendar/
[B] https://caldav.organization.org/users/shared@organization.org/calendar/

Users login name for both resources:
username@organization.org

Case 1:
My davdroid setup for Resource [A]:
base URL:https://caldav.organization.org/users/username@organization.org/calendar/
username: username@@organization.org
Result: OK, everything fine

Case 2:
My davdroid setup for Resource [B]:
base URL:https://caldav.organization.org/users/shared@organization.org/calendar/
username: username@organization.org
Result: not OK, same calendar list like with resource [A] setup

Case 3:
Case 1 and 2 simultaneously:
Resource [A] setup gives correct calendars
Resource [B] setup gives mixed calendars from Resource A and B

Problems:

  • Case 3 is not reproducible, after deleting both I could not yield the same setup again
  • In the
  • Usernames seem to override the “username-part” in the resource URL

From debug.txt:, removed contacts and replaced real names:

— BEGIN DEBUG INFO —

SOFTWARE INFORMATION
Package: at.bitfire.davdroid
Version: 2.0.4-gplay (245) from 08.09.2018
Installed from: com.android.vending
JB Workaround installed: no

CONNECTIVITY (at the moment)
Active connection: mobile, 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: denied
org.dmfs.permission.WRITE_TASKS permission: denied
System-wide synchronization: automatically
Account: username@organization.org
Address book sync. interval: manually
Calendar sync. interval: 60 min
OpenTasks sync. interval: —
WiFi only: false
[CardDAV] Contact group method: GROUP_VCARDS
[CalDAV] Time range (past days): 90
Manage calendar colors: true
Account: shared@organization.org
Address book sync. interval: manually
Calendar sync. interval: manually
OpenTasks sync. interval: —
WiFi only: false
[CardDAV] Contact group method: GROUP_VCARDS
[CalDAV] Time range (past days): 90
Manage calendar colors: true

SQLITE DUMP
android_metadata
| locale |
| de_DE |

services
| _id | accountName | service | principal |
| 22 | username@organization.org | carddav | https://caldav.organization.org/principals/users/username@organization.org |
| 23 | username@organization.org | caldav | https://caldav.organization.org/principals/users/username@organization.org |
| 30 | shared@organization.org | carddav | https://caldav.organization.org/principals/users/username@organization.org |
| 31 | shared@organization.org | caldav | https://caldav.organization.org/principals/users/username@organization.org |

sqlite_sequence
| name | seq |
| services | 31 |
| homesets | 82 |
| collections | 282 |

homesets
| _id | serviceID | url |
| 70 | 22 | https://caldav.organization.org/users/username@organization.org/contacts/ |
| 72 | 23 | https://caldav.organization.org/users/username@organization.org/calendar/ |
| 80 | 30 | https://caldav.organization.org/users/username@organization.org/contacts/ |
| 82 | 31 | https://caldav.organization.org/users/username@organization.org/calendar/ |

collections
| _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync | type | source | forceReadOnly | privWriteContent | privUnbind |
| 236 | 23 | https://caldav.organization.org/users/username@organization.org/calendar/ | 0 | Kalender | <null> | <null> | <null> | 1 | 1 | 0 | CALENDAR | <null> | 0 | 1 | 1 |
| 277 | 31 | https://caldav.organization.org/users/username@organization.org/calendar/ | 0 | Kalender | <null> | <null> | <null> | 1 | 1 | 0 | CALENDAR | <null> | 0 | 1 | 1 |
| 282 | 31 | https://caldav.organization.org/users/shared@organization.org/calendar/ | 0 | Kalender | <null> | <null> | <null> | 1 | 1 | 1 | CALENDAR | <null> | 0 | 1 | 1 |

SYSTEM INFORMATION
Android version: 7.1.1 (NMF26X.J510FNXXU2BRE6)
Device: samsung SM-J510FN (j5xnlte)

— END DEBUG INFO —