Thanks for your comment. This would be useful for sure. I have put it on the “possible enhancements” list.
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?
-
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.
-
@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.
-
-
@rfc2822 said in Does DavDroid preserve RELATED-TO?:
Implemented with https://gitlab.com/bitfireAT/ical4android/commit/3149daac068661f3f8cfeaa6e601235fe42cc25e
Has this already propagated to a released DAVx⁵ version? I’m running 2.6-gplay(308). (I saw that the commit is from last December.)
I tested, and still when I edit a task (using opentasks), the RELATED-TO information is lost.
-
I was wrong. Not implemented yet.
-
@rfc2822 said in Does DavDroid preserve RELATED-TO?:
I was wrong. Not implemented yet.
Thanks for the information.
I hope you can justify implementing it at some point. For me, this issue causes data loss if I edit any task on my smartphone, which I would like to do, obviously. I can imagine that there aren’t that many people in my situation, however.
-
I hope so, too.
-
Finally, unknown properties of tasks should now be retained: https://gitlab.com/bitfireAT/ical4android/commit/1925b714c247468552bac5a05f67f6e4ad8e95f4
-
@rfc2822 said in Does DavDroid preserve RELATED-TO?:
Finally, unknown properties of tasks should now be retained: https://gitlab.com/bitfireAT/ical4android/commit/1925b714c247468552bac5a05f67f6e4ad8e95f4
Ah, nice, but if I understand correctly,
RELATED_TO
, because it is treated as an unknown property, is invisible to any app except DAVx⁵? Ideally, it would sync to the corresponding database rows defined by the Task provider. I guess that may be a further feature request. -
@equaeghe Yes, but at the moment, OpenTasks doesn’t provide an UI for RelatedTo, as far as I know?
-
@rfc2822 said in Does DavDroid preserve RELATED-TO?:
@equaeghe Yes, but at the moment, OpenTasks doesn’t provide an UI for RelatedTo, as far as I know?
That is true, but aCalendar+ however does, which is what I am using.
-
Excellent.
-
It seems like aCalendar+ sets
PARENT_ID
(link) manually and doesn’t create aRELATION
(link) withRELATED_TYPE=RELTYPE_PARENT
instead. In the latter case, OpenTasks would automatically setPARENT_ID
, and DAVx⁵ would only have to handleRelation
properties. This would save redundancy and make things easier.Maybe thePARENT_ID
task column should even be read-only. I wonder how this is intended to be used.Update: The
PARENT_ID
task column should even be read-only and aCalendar+ shouldn’t access it.Are you in contact with the aCalendar+ developers?
-
@rfc2822 said in Does DavDroid preserve RELATED-TO?:
Are you in contact with the aCalendar+ developers?
No, but I have created a support ticket. Either I will come back here when they respond to me, or they might respond here directly (I provided the link).
-
Hi,
I am the developer of aCalendar.
I’ll look into this, and will try to get this into the next (2.3) update.
Is there any public demo account for testing purposes with a web interface that supports child tasks? AFAIK, there is no GUI support for subtasks in Open Tasks, so I’d be flying blind here (my personal web.de caldav account has support for tasks but no GUI at all).
Regards
Matthias -
@Matthias-Laabs said in Does DavDroid preserve RELATED-TO?:
Is there any public demo account for testing purposes with a web interface that supports child tasks?
Hmm, for the desktop there is korganizer and zanshin (both kde applications); these are the ones I use. Nextcloud’s task app supports it, but I do not know whether their public demo allows caldav access. (Did not yet manage to create one myself.)
-
Implemented with https://gitlab.com/bitfireAT/ical4android/commit/7b5dfda1e9278a8728ee7f33b1ab4f089bec22ec / https://gitlab.com/bitfireAT/davx5-ose/commit/6fe5fafed79549aecfc5be5d8498e32b8d781cf2.
It deals with both
Relation
rows and the current aCalendar+ method (withoutRelation
row).I’ll release 2.6.1-beta1 soon. Can you then test it? Do you have it from Google Play?
-
Does this mean, that no action is required anymore from aCalendar’s side?