JodliDev / calendar

GNU Affero General Public License v3.0
16 stars 12 forks source link

event cannot be moved to another calendar #16

Open chaos-prevails opened 2 years ago

chaos-prevails commented 2 years ago

Hello, when having 2 calendars (whether shared or of the respective users), I cannot move an event to a different calendar.

When I try to edit an event, choose another calendar, and then click Save, I get a positive message in the interface ("Sucessfully saved"). However, the event disappears until I refresh the page, or it auto-refreshes. The event stays in the initial calendar. It is also not moved to the different calendar at the caldav provider (e.g. SOGo)

Log-file:

May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Updating event uid "565B964853CAEA506ECDF0BBCF5C6534-1CB5DAFE4E2ABC8E".
May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Successfully updated event "275".
May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Syncing calendar id "70".
May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Found new event /SOGo/dav/it5@mydomain.net/Calendar/sharer_A_mydomain_D_net_314CFB-62837A00-11-32540100/
May 19 18:35:56 mail roundcube: PHP Warning:  array_merge(): Expected parameter 1 to be an array, null given in /opt/www/roundcubemail/plugins/calendar/drivers/caldav/caldav_driver.php on line 2253
May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Could not perform event creation: Array
May 19 18:35:56 mail roundcube: (
May 19 18:35:56 mail roundcube:     [url] => /SOGo/dav/it5@mydomain.net/Calendar/sharer_A_mydomain_D_net_314CFB-62837A00-11-32540100/
May 19 18:35:56 mail roundcube:     [etag] => None
May 19 18:35:56 mail roundcube: )
May 19 18:35:56 mail roundcube: 
May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Created 0 new events, updated 0 event.
May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Remove event "275".
May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Successfully synced calendar id "70".
May 19 18:35:56 mail roundcube: <o8p584kt> caldav_driver: Sync period active: Assuming calendar "70" to be in sync.