-
-
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
External ICS calendars fail to display if the UID includes slash #19980
Comments
@artfulrobot I highly doubt that there is nothing in the Nextcloud.log |
(After decreasing log-level, you will have to trigger the error again by reloading the calendar app) |
What do the latter |
OK, I lowered the log level to 0 by changing config.php. And re-ran. xxxxxxxx yes it's just Here's the logs:
|
For now, here's a URL for that file |
Moving to server, since this seems to be an issue in the dav app ... |
Forgive the uninformed hunch - but it's not something like it's using the UID in a filename (and therefore cannot contain /)? |
We are indeed reusing the UID as uri. My bad, sorry. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Pull-request: #19986 |
excellent, thank you. |
Steps to reproduce
Create a file somewhere public with an http link to it with the following.
BEGIN:VCALENDAR
VERSION:2.0
PRODID: f2444c69b39463a8622ec7eab6bbe275
BEGIN:VEVENT
UID:something/valid
DTSTAMP:20200310T000000
DTSTART:20200316T160000
DTEND:20200316T170000
SUMMARY:Does not work
END:VEVENT
END:VCALENDAR
Import that URL using the "new subscription from link" UI.
Try to view the event
Expected behaviour
Event is shown, since the ICS is valid according to spec, as validated using https://icalendar.org/validator.html
Actual behaviour
calendar indicator shows whirling spinner; never loads.
Server configuration detail
Operating system: Linux 4.9.0-11-amd64 nextcloud/calendar#1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64
Webserver: nginx/1.10.3 (fpm-fcgi)
Database: mysql 10.1.41
PHP version:
7.2.24-1+0
20191026.31+debian91.gbpbbacdeModules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, cgi-fcgi, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache, xdebug
Nextcloud version: 18.0.2 - 18.0.2.2
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
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:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Operating system:
Logs
Web server error log
Nextcloud log
Browser log
REPORT https://safe.artfulrobot.uk/remote.php/dav/calendars/yyy/xxxxxxxxxx/
XHRREPORThttps://xxxxxxxxxxxxx/remote.php/dav/calendars/yyyy/xxxxxxxxx/
[HTTP/2 404 Not Found 146ms]
Response payload
1
2
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
3
<s:exception>Sabre\DAV\Exception\NotFound</s:exception>
4
<s:message>Calendar object not found</s:message>
5
</d:error>
6
The text was updated successfully, but these errors were encountered: