-
-
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
Adding appointment into shared calendar fails #3801
Labels
Comments
Can you try if adding an email to your profile also solves the issue? |
Both mail addresses were filled before. |
I also saw this error after upgrading to 11.0.2 using CalDAV-Sync client on Android. Workaround above worked for me too. |
Can you try: $server->addPlugin(new \Sabre\CalDAV\Schedule\Plugin()); replace with: $server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin()); |
Above works for me. Thanks! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Expected behaviour
The appointment should be created into the shared calendar without error.
Actual behaviour
See above
Server configuration
Operating system: Ubuntu 16.04.2 LTS
Web server: nginx/1.10.0 (Ubuntu)
Database: 5.7.17-0ubuntu0.16.04.1 (Ubuntu)
PHP version: PHP 7.0.15-0ubuntu0.16.04.4
Nextcloud version: (see Nextcloud admin page) Nextcloud 11.0.2 (production)
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: https://download.nextcloud.com/server/releases/nextcloud-11.0.2.zip
List of activated apps:
Enabled:
Disabled:
The content of config/config.php:
{
"system": {
"instanceid": "ocaeb697abca",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"datadirectory": "/srv/ncdata",
"dbtype": "mysql",
"version": "11.0.2.7",
"dbname": "nextcloud",
"dbhost": "localhost",
"dbtableprefix": "nc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"forcessl": true,
"theme": "",
"maintenance": false,
"trusted_domains": [...],
"share_folder": "/Shared",
"loglevel": 0,
"log_authfailip": true,
"log_rotate_size": "104857600",
"secret": "REMOVED SENSITIVE VALUE",
"mail_from_address": "sharing-noreply",
"mail_smtpmode": "smtp",
"mail_domain": "...",
"mail_smtphost": "localhost",
"mail_smtpport": "25",
"memcache.local": "\OC\Memcache\Redis",
"filelocking.enabled": "true",
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "localhost",
"port": 6379,
"timeout": 0
},
"trashbin_retention_obligation": "auto",
"htaccess.RewriteBase": "/",
"updater.release.channel": "production",
"updater.secret": "REMOVED SENSITIVE VALUE"
}
}
Are you using external storage, if yes which one: /srv/ncdata
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: none, iOS Calendar App
Operating system: iOS 10.2.1
Logs
Nextcloud log (data/nextcloud.log)
TypeError: Argument 3 passed to Sabre\CalDAV\Schedule\Plugin::processICalendarChange() must be of the type array, null given, called in /var/www/servers/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php on line 372
/var/www/servers/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php - line 372: Sabre\CalDAV\Schedule\Plugin->processICalendarChange(NULL, Object(Sabre\VObject\Component\VCalendar), NULL, Array, false)
[internal function] Sabre\CalDAV\Schedule\Plugin->calendarObjectChange(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response), Object(Sabre\VObject\Component\VCalendar), 'calendars/Ina/g...', false, true)
/var/www/servers/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/servers/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Plugin.php - line 943: Sabre\Event\EventEmitter->emit('calendarObjectC...', Array)
/var/www/servers/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Plugin.php - line 801: Sabre\CalDAV\Plugin->validateICalendar('BEGIN VCALENDAR...', 'calendars/Ina/g...', false, Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response), true)
[internal function] Sabre\CalDAV\Plugin->beforeCreateFile('calendars/Ina/g...', 'BEGIN VCALENDAR...', Object(OCA\DAV\CalDAV\Calendar), false)
/var/www/servers/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/servers/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1070: Sabre\Event\EventEmitter->emit('beforeCreateFil...', Array)
/var/www/servers/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 525: Sabre\DAV\Server->createFile('calendars/Ina/g...', 'BEGIN VCALENDAR...', NULL)
[internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/servers/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/servers/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PUT', Array)
/var/www/servers/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/servers/nextcloud/apps/dav/appinfo/v1/caldav.php - line 91: Sabre\DAV\Server->exec()
/var/www/servers/nextcloud/remote.php - line 165: require_once('/var/www/server...')
{main}
Browser log
Doesn't happen in the browser client.
Workaround
if ($addresses == null) {
$addresses = [];
}
$this->processICalendarChange($oldObj, $vCal, $addresses, [], $modified);
The text was updated successfully, but these errors were encountered: