Files
calendula/app
Jean-Luc Makiola 2c7d976d6f fix(calendars): don't reconcile visibility off an unreadable calendar list
The data source turns a null cursor — a provider that is momentarily
unavailable — into an empty list, which the reconciler read as "this device has
no calendars". Both of the decisions it then takes are one-way: every pending id
counts as settled, so the whole set is dropped without VISIBLE = 0 ever being
written and the calendars the user switched off come back on with their events
and reminders; and with nothing to find hidden, the one-time notice is stored as
"nothing to explain" for good.

The repository already refuses to cache an empty read for exactly this reason.
Do the same here and leave both decisions to the next run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-26 18:49:29 +02:00
..