Hello,
I’m using a CalDav calendar service which sends calendar colors in the iCal format (as far as I understand it from the DAVx5 debug log), which doesn’t seem to be supported by DAVx5.
At first I thought that the server doesn’t send calendar color information at all, but then I noticed that the colors are read just fine by a desktop calendar client I’m using (KDE Kontact). So I started digging into this and found the following errors in the DAVx5 debug log:
2020-01-26 12:39:54 1877 [at.bitfire.dav4jvm.Property] Ignoring unknown property http://apple.com/ns/ical/calendar-color
2020-01-26 12:39:54 1877 [at.bitfire.dav4jvm.property.CalendarColor] Couldn't parse color, ignoring
EXCEPTION java.lang.IllegalArgumentException: Couldn't parse color value: limegreen
at at.bitfire.dav4jvm.property.CalendarColor$Companion.parseARGBColor(CalendarColor.kt:43)
at at.bitfire.dav4jvm.property.CalendarColor$Factory.create(CalendarColor.kt:55)
at at.bitfire.dav4jvm.property.CalendarColor$Factory.create(CalendarColor.kt:48)
at at.bitfire.dav4jvm.PropertyRegistry.create(PropertyRegistry.kt:49)
at at.bitfire.dav4jvm.Property$Companion.parse(Property.kt:51)
at at.bitfire.dav4jvm.PropStat$Companion.parse(PropStat.kt:48)
at at.bitfire.dav4jvm.Response$Companion.parse(Response.kt:144)
at at.bitfire.dav4jvm.DavResource$processMultiStatus$2.invoke(DavResource.kt:465)
at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:484)
at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:435)
at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325)
at at.bitfire.davdroid.DavService.refreshCollections(DavService.kt:288)
at at.bitfire.davdroid.DavService.access$refreshCollections(DavService.kt:38)
at at.bitfire.davdroid.DavService$onStartCommand$$inlined$let$lambda$1.invoke(DavService.kt:75)
at at.bitfire.davdroid.DavService$onStartCommand$$inlined$let$lambda$1.invoke(DavService.kt:38)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
2020-01-26 12:39:54 1877 [at.bitfire.dav4jvm.Property] Ignoring unknown property http://apple.com/ns/ical/calendar-color
The XML tag where this color information is contained is the following:
<x1:calendar-color xmlns:x1="http://apple.com/ns/ical/">limegreen</x1:calendar-color>
DAVx5 version: 2.6.3.1-gplay (329)
Build date: 14 Jan 2020
OS: Android 10 (00WW_4_10C)
Device: Nokia 6.1
If you need more debug information, let me know.
Is there any chance that this will be supported in a future release of DAVx5?
BTW. Your forum website doesn’t work in Firefox for some reason (latest version, no add-ons). It constantly displays an error message that the connection to bitfire was lost, or sth. like that.