-
Notifications
You must be signed in to change notification settings - Fork 247
RFC-compliant ICS calendars not working; BYYEARDAY RRULE is considered invalid #821
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
Labels
Comments
I'm getting <?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Internal Server Error</s:exception>
<s:message>
The server was unable to complete your request. If this happens again, please send the technical details below to the server administrator. More details can be found in the server log. </s:message>
<s:technical-details>
<s:remote-address>127.0.0.1</s:remote-address>
<s:request-id>N0p3UFTd67ke6Gdg5IJx</s:request-id>
<s:type>Sabre\DAV\Exception\UnsupportedMediaType</s:type>
<s:code>0</s:code>
<s:message>Validation error in iCalendar: The supplied value (1-11-27) is not a correct DATE</s:message>
<s:file>/var/www/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Plugin.php</s:file>
<s:line>873</s:line>
<s:stacktrace>
#0 /var/www/nextcloud/3rdparty/sabre/dav/lib/CalDAV/Plugin.php(760): Sabre\CalDAV\Plugin->validateICalendar()
#1 /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\CalDAV\Plugin->beforeCreateFile()
#2 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1094): Sabre\DAV\Server->emit()
#3 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(504): Sabre\DAV\Server->createFile()
#4 /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\DAV\CorePlugin->httpPut()
#5 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(472): Sabre\DAV\Server->emit()
#6 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(253): Sabre\DAV\Server->invokeMethod()
#7 /var/www/nextcloud/apps/dav/lib/Server.php(374): Sabre\DAV\Server->start()
#8 /var/www/nextcloud/apps/dav/appinfo/v2/remote.php(19): OCA\DAV\Server->exec()
#9 /var/www/nextcloud/remote.php(145): require_once('...')
#10 {main} </s:stacktrace>
</s:technical-details>
</d:error> But changing the date also doesn't work because there's nextcloud/server#47924 to contend with. I think that there's too many instances for it to work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not sure if this is a CalDAV issue, since this issue is specific to ical. Please pardon me if this is the wrong place.
Steps to reproduce
RRULE
withBYYEARDAY
. Please read my question on StackOverflow.MWE to provoke the error:
Expected behaviour
I except RFC-compliant ICS calendars to work, like the
BYYEARDAY
rule.Actual behaviour
They don't. In fact there's even an error message stating the rule was invalid, which it is not per RFC 5545.
Server configuration detail
Operating system: Linux 3.16.0-6-686-pae #1 SMP Debian 3.16.56-1 (2018-04-28) i686
Webserver: Apache (apache2handler)
Database: mysql 5.6.40
PHP version: 5.6.33-0+deb8u1
Modules loaded: Core, date, ereg, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dba, dom, hash, fileinfo, filter, ftp, gettext, SPL, iconv, mbstring, session, posix, Reflection, standard, shmop, SimpleXML, soap, sockets, Phar, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, apache2handler, PDO, curl, gd, json, mcrypt, mysql, mysqli, pdo_mysql, mhash, Zend OPcache
Nextcloud version: 12.0.5 - 12.0.5.3
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: from source
Signing status
Array
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... => Not used, deleted
Client configuration
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Operating system: Debian 9.4
Logs
Browser log
Nextcloud log
PS: Your issue template asks for the browser log twice
PPS: At first sight It seems like the issue results from a library which does not support the
BYYEARDAY
rule, but my internal knowledge of Nextcloud or icalendar libraries is too limited to be sure. Even if there's nothing you can do directly, it would still help a lot if we could raise awareness @ upstream if this is the case.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: