Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Error when removing invitees from event #6838

Copy link
Copy link
Closed
nextcloud/server
#52882
nextcloud/server#52882
@kirlue

Description

@kirlue
Issue body actions

Steps to reproduce

/edit: I'm editing this bug to separate between the reoccurrence of #3325 and this (new?) bug.

The errors happen when changing events with Thunderbird as well as in the NC-interface of the calendar. All calendars are owned by one account and shared with other accounts. The changes are made with the user, that owns the calendars. So there it's not an issue of writing permissions.

The errors started to show a week ago.

  1. Create an event in a shared or not-shared calender.
  2. Invite a person to the event, save. -> person gets invitation, doesn't even have to respond to this.
  3. Try to delete the invitee -> error.

Expected behavior

  1. I would like to delete an invited person in the event -> invited person is deleted and gets a message about the cancellation.

Actual behavior

  1. I would like to delete an invited person in the event -> NC calendar shows "error in saving the event"; the invited person gets a mail with "event cancelled" but actually is still invited
  2. See error logs posted underneath.

I can still change the title or the description of the event.
Sometimes I was able to nevertheless change the events calendar (move it to another calendar) and then delete the invited person. Sometimes this wasn't possible neither. I can't see why this happens because for me up to now there is no pattern.

It is also possible to delete one invitee and invite another one -> the event is saved without a problem.

Calendar app version

5.2.0

CalDAV-clients used

Thunderbird 128.6.0

Nextcloud version

Nextcloud Hub 9 (30.0.6)

Browser log

Mar 19 21:31:01 xxxx.your-storageshare.de nextcloud-nxxxxx[640100]:
{
"reqId": "hcCaVxqSCF9dJOcV5scu",
"level": 3,
"time": "2025-03-19T20:31:01+00:00",
"remoteAddr": "2a02:8109:9f1b:2600:f5aa:13d5:aed4:873a",
"user": "buero",
"app": "PHP",
"method": "PUT",
"url": "/remote.php/dav/calendars/xxx/yyyy/12407c6c-a2bb-4d87-a01b-4097bd8f98c7.ics",
"message": "Undefined array key "master" at /var/www/html/apps/dav/lib/CalDAV/TipBroker.php#104",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0",
"version": "30.0.6.2",
"data": {
"app": "PHP"
}
}

AND

`Mar 19 21:31:01 xxxx.your-storageshare.de nextcloud-nxxxxx[640100]: {
"reqId": "hcCaVxqSCF9dJOcV5scu",
"level": 3,
"time": "2025-03-19T20:31:01+00:00",
"remoteAddr": "2a02:8109:9f1b:2600:f5aa:13d5:aed4:873a",
"user": "buero",
"app": "webdav",
"method": "PUT",
"url": "/remote.php/dav/calendars/xxxx/yyyy/12407c6c-a2bb-4d87-a01b-4097bd8f98c7.ics",
"message": "{"Exception":"Error","Message":"__clone method called on non-object","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/vobject/lib/ITip/Broker.php","line":244,"function":"parseEventForOrganizer","class":"OCA\\DAV\\CalDAV\\TipBroker","type":"->","args":[{"class":"Sabre\\VObject\\Component\\VCalendar","parent":"*** sensitive parameters replaced ","name":"VCALENDAR"},{"uid":"12407c6c-a2bb-4d87-a01b-4097bd8f98c7","organizer":"mailto:xxx@yyyy.de","organizerName":" sensitive parameters replaced ","organizerScheduleAgent":"SERVER","organizerForceSend":" sensitive parameters replaced ","0":"And 7 more entries, set log level to debug to see all entries"},{"uid":"12407c6c-a2bb-4d87-a01b-4097bd8f98c7","organizer":"mailto:xxxx@yyyy","organizerName":" sensitive parameters replaced ","organizerScheduleAgent":"SERVER","organizerForceSend":" sensitive parameters replaced ","0":"And 7 more entries, set log level to debug to see all entries"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php","line":616,"function":"parseEvent","class":"Sabre\\VObject\\ITip\\Broker","type":"->","args":[{"class":"Sabre\\VObject\\Component\\VCalendar","parent":" sensitive parameters replaced ","name":"VCALENDAR"},["mailto:xxxx@yyyy\","/remote.php/dav/principals/users/xxxx/"],{"class":"Sabre\\VObject\\Component\\VCalendar","parent":" sensitive parameters replaced ","name":"VCALENDAR"}]},{"file":"/var/www/html/apps/dav/lib/CalDAV/Schedule/Plugin.php","line":204,"function":"processICalendarChange","class":"Sabre\\CalDAV\\Schedule\\Plugin","type":"->","args":[{"class":"Sabre\\VObject\\Component\\VCalendar","parent":" sensitive parameters replaced ","name":"VCALENDAR"},{"class":"Sabre\\VObject\\Component\\VCalendar","parent":" sensitive parameters replaced ","name":"VCALENDAR"},["mailto:xxxx@yyyy\","/remote.php/dav/principals/users/xxxx/"],[],false]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"calendarObjectChange","class":"OCA\\DAV\\CalDAV\\Schedule\\Plugin","type":"->","args":[{"class":"Sabre\\HTTP\\Request"},{"class":"Sabre\\HTTP\\Response"},{"class":"Sabre\\VObject\\Component\\VCalendar","parent":" sensitive parameters replaced ","name":"VCALENDAR"},"calendars/xxx/yyyy",false,false]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php","line":889,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["calendarObjectChange",[{"class":"Sabre\\HTTP\\Request"},{"class":"Sabre\\HTTP\\Response"},{"class":"Sabre\\VObject\\Component\\VCalendar","parent":" sensitive parameters replaced ","name":"VCALENDAR"},"calendars/xx/yyyy",false,"And 1 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php","line":733,"function":"validateICalendar","class":"Sabre\\CalDAV\\Plugin","type":"->","args":[" sensitive parameters replaced "," sensitive parameters replaced ",false,{"class":"Sabre\\HTTP\\Request"},{"class":"Sabre\\HTTP\\Response"},false]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeWriteContent","class":"Sabre\\CalDAV\\Plugin","type":"->","args":[" sensitive parameters replaced ",{"class":"OCA\\DAV\\CalDAV\\CalendarObject"}," sensitive parameters replaced ",false]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1133,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeWriteContent",[" sensitive parameters replaced ",{"class":"OCA\\DAV\\CalDAV\\CalendarObject"}," sensitive parameters replaced ",false]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":492,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":[" sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"class":"Sabre\\HTTP\\Request"},{"class":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[{"class":"Sabre\\HTTP\\Request"},{"class":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Server.php","line":43,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"class":"Sabre\\HTTP\\Request"},{"class":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":371,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":146,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/CalDAV/TipBroker.php","Line":104,"message":"__clone method called on non-object","exception":{},"CustomMessage":"__clone method called on non-object"}",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0",
"version": "30.0.6.2"}

Metadata

Metadata

Type

Projects

Status

☑️ Done
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.