Agenda cannot make appointment on caldav

REPRODUCIBILITY: 100%
OS VERSION: 5.0.0.70
HARDWARE: C2
UI LANGUAGE: nl
REGRESSION:

DESCRIPTION:

New appointment, cannot select a caldav calendar

PRECONDITIONS:

need a caldav account (Radicale for me)

STEPS TO REPRODUCE:

  1. add a caldav account, make sure the calendars work in the agenda app

  2. make new appointment

  3. unable to select one of the caldav calenders to add the appointment to

EXPECTED RESULT:

I had expected to see the caldav calenders amongst the other calendars.

ACTUAL RESULT:

only see the local calenders to add appointment to.

MODIFICATIONS:

ADDITIONAL INFORMATION:

From the calendar app, what are the options under Manage calendars?

If the calendars appears in the settings and in the manage calendar page in the calendar application (and their events also appear in the application), I think it may come from the fact that calendars are seen as read-only, or seen as not suited for events (allowing only todos or journals).

Could you gather sync logs ?

1 Like

events appear, also new events appear, i have multiple calendars for this caldav account, and in manage i can turn these on and off individually.

i’ll try to find out where the sync logs are and try to get them.

ok, i did a journalctl | grep -v kernel and i did see something related to calenders:

sep 23 11:47:20 JollaC2 buteo-oopp-runner[6869]: [W] unknown:0 - Cannot find the calendar root for this user, guess it from account.
sep 23 11:47:21 JollaC2 dbus-daemon[2294]: dbus-daemon[2294]: [session uid=100000 pid=2294] Successfully activated service 'org.nemomobile.calendardataservice'
sep 23 11:47:21 JollaC2 calendardataservice[6885]: [W] unknown:0 - No transactionId, discarding results
sep 23 11:47:21 JollaC2 calendardataservice[6885]: [W] unknown:0 - No transactionId, discarding results
sep 23 11:47:21 JollaC2 calendardataservice[6885]: [W] unknown:0 - No transactionId, discarding results
sep 23 11:47:21 JollaC2 calendardataservice[6885]: [W] unknown:0 - No transactionId, discarding results

If it’s in the application, maybe you can do the following to get some error from the app itself, which may not be loggued in the journal:

- close the application then type
- devel-su -p
- QT_LOGGING_RULES="*.mkcal.debug=true" jolla-calendar

And open the creation page for an event. Hopefully it will report something.

I don’t see super much logs, but it does say ‘loaded notebook “” from database’ for all the calenders, the default, as well as the 5 caldav ones and the b-day ones.

the caldav calenders are also allowed to have TODO, but should that make it readonly? should i try to add a calendar that does not have TODO?

to be sure: the one called Personal (Default?) is the only one that is suggested, the b-day one is also not in that list for making a new appointment.

I wonder if any unknown property in the calendar makes it readonly? would anyone have a suggestion of what props should work with a caldav to make it writable? does anyone have a props example from a working writable caldav calender?

this is an example of the properties for one of those calendars:

{"C:supported-calendar-component-set": "VEVENT,VJOURNAL,VTODO", "D:displayname": "Kalender van UserName", "ICAL:calendar-color": "#000000ff", "tag": "VCALENDAR"}

So, i tried adding a calendar without todo, then i added a 2nd caldav account (with a copy (actually symlink) of the calendars) and suddenly all calendars (with duplicates) were suggested for a new appointment and I could edit existing ones back & forth…??? I have removed the 2nd account and it still works. did something happen during the first adding of the account? did i have to add a 2nd caldav to make it work? i don’t know, but i guess it works now?