Does DavDroid preserve RELATED-TO?



  • I have an issue where tasks with a RELATED-TO field (created in a PC application) lose that field after they are marked as completed on my device. Therefore the question: does or should DavDroid preserve RELATED-TO?


  • developer

    Hello,

    Yes, it should, and yes, in a quick test, it still does. DAVdroid receives:

    PRODID:-//Nextcloud calendar v1.6.3
    VERSION:2.0
    CALSCALE:GREGORIAN
    BEGIN:VEVENT
    CREATED:20181123T112146
    DTSTAMP:20181123T112146
    LAST-MODIFIED:20181123T112146
    UID:WCKK473HHURG969QCDHCBK
    SUMMARY:Test
    RELATED-TO:jsmith.part7.19960817T083000.xyzMail@example.com   <---- !!
    DTSTART;VALUE=DATE:20181122
    DTEND;VALUE=DATE:20181123
    END:VEVENT
    END:VCALENDAR
    

    After modifying this event with the Google Calendar app, DAVdroid sends:

    VERSION:2.0
    PRODID:+//IDN bitfire.at//DAVdroid/2.0.5 ical4j/2.2.0
    BEGIN:VEVENT
    DTSTAMP:20181123T102354Z
    UID:WCKK473HHURG969QCDHCBK
    SEQUENCE:1
    SUMMARY:Test from DAVdroid
    DTSTART;VALUE=DATE:20181122
    DTEND;VALUE=DATE:20181123
    STATUS:TENTATIVE
    CREATED:20181123T112146
    RELATED-TO:jsmith.part7.19960817T083000.xyzMail@example.com   <---- !!
    END:VEVENT
    END:VCALENDAR
    

    Does that help?



  • @rfc2822 Yes, certainly. It means that it's the app that is at fault. (I tested with OpenTasks.) Thank you very much for your response and extra thanks for the speed with which you responded.


  • developer

    @equaeghe Oh, I missed the word "tasks" in your original posting. For tasks, "unknown properties" are at the moment not preserved by DAVdroid.

    This could be implemented in DAVdroid… marking this as an enhancement.