-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Consider only reminders with calendar data #20766
Consider only reminders with calendar data #20766
Conversation
https://github.com/nextcloud/server/blob/master/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php#L114
|
So what are the next steps here? |
|
There is an issue with the |
was there any results from the discussion @tcitworld ? |
I can't remember we had this discussion, had forgotten about this. 🙉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
/backport to stable23 |
/backport to stable22 |
/backport to stable21 |
I need to check what Georg linked to to see if there's a better fix. |
c781e48
to
1b928a4
Compare
|
||
/** @var CalDavBackend $calDavBackend */ | ||
$calDavBackend = $container->query(CalDavBackend::class); | ||
$calDavBackend->purgeAllCachedEventsForSubscription($subscriptionData['id']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notice that we don't call purgeAllCachedEventsForSubscription
anymore in SubscriptionDeletionListener
, as the event is dispatched after the deletion of related calendarobjects
, calendarchanges
and calendarobjects_props
, so it doesn't make sense to call it again.
purgeAllCachedEventsForSubscription
is used only when we refresh the data, so that we can addChanges
.
1b928a4
to
1c5fc03
Compare
This comment has been minimized.
This comment has been minimized.
f0387bd
to
478c16d
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
478c16d
to
8849d8d
Compare
Moved the new listener to a greater PR at #30335 |
8849d8d
to
32a9a5c
Compare
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
32a9a5c
to
22f8c42
Compare
Encountered an issue once like this one https://help.nextcloud.com/t/subscribed-calendar-not-updating-in-webui-again-subscribed-calendars-are-a-total-mess-in-nc/79774/2
Not sure why we can have calendar objects with empty data referenced into reminders.
Fix #30112
Fix #30265