Skip to content

Catastrophic data loss with permissions disabling/reenabling #51

@toobaz

Description

@toobaz

I'm a happy user of DecSync since a couple of years, sharing the calendar with a Linux PC. The Android app works so reliably that I seldomly open it, and as a consequence at some moment Android (well, actually LineageOS, in case that matters) automatically disabled the permission to use the system calendar.

I think this happened in November 2024, and as a consequence, recently added events were not synced with the PC: this is clearly my fault, I should have checked the system notification at the time. For the following months, I kept on using the calendar without syncing to the PC.

The real problem is that when yesterday I re-enabled the permission, by re-enabling the specific calendar within DecSync and then re-allowing DecSync to access the calendar via the system dialog, suddenly all events since November 2024 were deleted from the calendar, and there doesn't seem to be any way to retrieve them.

My interpretation of what happened is that DecSync was unaware of all events added since November 2024 (since it didn't have access to the calendar in this period), and when it was re-enabled, it did a blind sync from the PC to the calendar, deleting everything that was not on the PC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions