Skip to content

fix(sync): Fix sync of tasks with changed calendar (#51)#52

Open
wandi34 wants to merge 1 commit into
chiriapp:masterfrom
wandi34:master
Open

fix(sync): Fix sync of tasks with changed calendar (#51)#52
wandi34 wants to merge 1 commit into
chiriapp:masterfrom
wandi34:master

Conversation

@wandi34
Copy link
Copy Markdown

@wandi34 wandi34 commented Apr 30, 2026

Fixes the calendar switch bug for tasks (#51)

Cause:
CalDAV resources are addressed by their URL (href). A task created in the "Personal" calendar gets an href like /caldav/personal/task.ics. When the user changes the calendar to "Work", only the local calendarId field is updated — the href still points to the old Personal URL.

  • Adding some tests and initial test config.

Review would be welcome. And please tell me your opinion about the first tests 😃

Tested it locally manually and the problem is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant