mirror of
https://github.com/aluxnimm/outlookcaldavsynchronizer.git
synced 2026-04-26 03:25:48 +03:00
[GH-ISSUE #283] Events disappear in Outlook after sync with Horde #276
Labels
No labels
1.0
1.0
1.0
2.0
Feature
Feature request
Google
Google Calendar
async
attachement
auto-migrated
auto-migrated
auto-migrated
bug
critical
enhancement
help wanted
implemented
pull-request
solved
solved
sourceforge
sourceforge
sourceforge
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/outlookcaldavsynchronizer#276
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mytickets617 on GitHub (Aug 11, 2020).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/283
After sync:
Same issue with log/reports/config and detailed description is reported here:
https://sourceforge.net/p/outlookcaldavsynchronizer/tickets/1431/
@amulet1 commented on GitHub (Aug 14, 2020):
It appears to be entirely a problem on Horde's end.
Here is what was done to fix the issue:
memory_limit = 256M
Apparently some operations related to CalDav may require way more than 128M of memory for PHP process.
UPDATE kronolith_events SET event_baseid="" WHERE event_baseid IS NULL;
ALTER TABLE kronolith_events MODIFY event_baseid varchar(255) NOT NULL DEFAULT "";
Everywhere is the code the assumption is that event_baseid can not be null. Additionally, when the event_baseid field was added (via migration), it was supposed to have empty string as default value, but in our case for whatever reason its default was set to NULL. We also added NOT NULL constraint there, just in case.
Without this change some events (specificaly events that were created by Outlook CalDav synchronizer were assigned NULL event_baseid and were never retrieved when synchronizing with Outlook using CalDavSynchronizer. This caused their disappearance in Outlook.
One is to address exception happening when startDate is not set in addEvents() call.
The other is to added issue with empty list of events generated if the end date was not specified.
With these fixes the synchronization now works properly. And also it is now possible to open calendars via horde/rpc.php, browse individual events, etc.