Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imported events get removed if remote resource is not available #788

Closed
albig opened this issue Dec 6, 2024 · 0 comments · Fixed by #789
Closed

Imported events get removed if remote resource is not available #788

albig opened this issue Dec 6, 2024 · 0 comments · Fixed by #789
Labels
bug Something isn't working

Comments

@albig
Copy link
Member

albig commented Dec 6, 2024

Describe the bug

If the remote resource for the ics calendar import ist not available, all events of this resource are removed.

This happens e.g. for Nextcloud calendars if the server responds with 499 and an empty payload.

Environment

  • Version of the sunflower theme: 2.2.3
  • WordPress version: 6.7.1
  • PHP version: 8.2

Possible Fix

The events should not be removed in this case.

This should only happen, if the resource is removed from the settings as it's done already.

@albig albig added the bug Something isn't working label Dec 6, 2024
@albig albig closed this as completed in #789 Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant