Feedback on v26: Request for Synchronous SMTP Notifications and Calendar Event Management #1434
Replies: 4 comments
-
|
I investigated the database directly to understand why single events cannot be deleted. I found that the operation fails silently due to a missing cascade deletion. When attempting to manually delete an event from the calendar_event table via phpMyAdmin, I receive this exact error: #1451 - Cannot delete or update a parent row: a foreign key constraint fails ('database_name'.'calendar_calendar_event', CONSTRAINT 'fk_calendar_calendar_event_calendar_event1' FOREIGN KEY ('eventId') REFERENCES 'calendar_event' ('eventId')) It appears the system is trying to delete the parent record without first clearing the linked child records in calendar_calendar_event, or the ON DELETE CASCADE rule is missing in the database schema. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Marco, I don't understand your issue with SMTP / JMAP. Emails are directly sent after saving an event and there's no queue. Could you share errors you're experiencing? The same goes for the calendar events as deleting single events works fine in my tests. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hi Merijn, I've been dealing with my hosting provider. They increased the limits in the .ini file (I don't think they are too bad, see below), and for a small number of attendees, the system works perfectly (invitations are sent, and the event can be managed or deleted). However, when dealing with a larger group (e.g., 30-40 attendees), the system crashes. It leaves .lock files in the temporary folder, no emails are sent, and the event becomes a "zombie" that can no longer be deleted from the interface. I am afraid that in strict shared hosting environments, sending all emails at once is simply too much. The server instantly kills the background process when the HTTP connection closes, aborting the script mid-way. I would like to propose three possible solutions:
Making Group Office compatible with shared hosting environments through these minimal workarounds would greatly increase its widespread adoption. Thanks for your precious work. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
In Group-Office v26+, the shift to an asynchronous JMAP-based queue for notifications causes significant issues on restricted shared hosting (e.g., Aruba.it). The process often hits resource limits during JMAP sync, leaving stale lock files in tmp/locks and preventing email delivery.
I suggest adding a toggle to bypass the queue and allow immediate SMTP delivery upon saving an event, similar to legacy versions. This would ensure reliability for small installations where Cron/JMAP overhead is problematic.
Bug/Issue: Event Deletion
I have also noticed a regression in calendar management. In previous versions, Administrators could delete individual events. Now, it appears impossible to remove a single occurrence or event without deleting the entire calendar. This is a major workflow hindrance for administrative tasks.
Environment
Version: Group-Office 26.x
Hosting: Shared Advanced Hosting (Linux) + MySql
PHP: 8.4+
Thank you for your support.
Beta Was this translation helpful? Give feedback.
All reactions