Hm, it’s reliably reproducible here using the Android emulator and testing different Android versions (8.1 and 9.0).
I’ve attached a logcat.txt from a failing test run. logcat.txt
Maybe that helps in finding the cause of the failure.
@ccoenen AndroidEvent
should be modified, too, because otherwise, DAVx⁵ would lose functionality: Now, CATEGORIES
are saved in Event.unknownProperties
, which are saved to the Android DB by AndroidEvent
. So, DAVx⁵ saves and restores CATEGORIES
at the moment as “unknown properties” without knowing anything about what CATEGORIES
is and does.
As soon as Event
understands CATEGORIES
, they’re not being put to Event.unknownProperties
anymore, so AndroidEvent
doesn’t save/restore CATEGORIES
anymore. The same applies to Task
and AndroidTask
.
So, if you could create a merge request for ical4android (soon: ical4x⁷), I’d merge it to a separate branch so that CATEGORIES
can be implemented in AndroidEvent
/AndroidTask
, too before merging it to master.
I passed this on. Thanks for looking at this so quickly!
Another person (c64bob on GitHub) took this up again. He posted a merge request Are these two things combined what you had in mind @rfc2822 ?
@ccoenen Hello, I have merged it to https://gitlab.com/bitfireAT/ical4android/tree/support-categories. But it’s essentially the same as the first MR and only the first of the two things I have mentioned.
Implemented with https://gitlab.com/bitfireAT/ical4android/commit/18585c9db4cc6d62ec9f26b189c4efd9c30ad67c. Anyone willing to test DAVx⁵ with the changes? Can send APK, or beta test in Google Play.
I’d be willing to give it a try, but I am not sure if I have an app that would actually display something useful?
@ccoenen said in Add missing task properties:
I’d be willing to give it a try, but I am not sure if I have an app that would actually display something useful?
It would only retain CATEGORIES
, although you can’t see/edit them in OpenTasks. But you can, for instance,
CATEGORIES
)CATEGORIES
(in previous versions, CATEGORIES
were lost).@rfc2822 will do! Right now I’m on DAVx5 from F-Droid (2.5.4.1-ose), how Do I get a prerelease-version?
@rfc2822 I’m still up for testing if you need me. I just need an apk.
Available in 2.5.5, which has already been released and should appear in F-Droid as soon as they have compiled it.