Closed darmbrust closed 10 months ago
Looks like it's missing the END:VCALENDAR
? Can you manually add it and try importing the ics?
So its interesting - indeed, adding the END:VCALENDAR makes this sample valid - I went back to my real calendar and pulled it from the outlook share again - and its also omitting all of the END:VEVENTS, in addition to the END:VCALENDAR.
Outlook must have made a change in their output format... guess the question is, is their change valid, and, can we fix the parser to be smart enough to know the END: tags are optional..... at least in Microsofts world... not sure about in the spec....
From my brief look at what I think is the correct spec, indeed, those END tags should not be optional... but, the validator at icalendar.org says there is no problem with the end tags being missing...
From my brief look at what I think is the correct spec, indeed, those END tags should not be optional... but, the validator at icalendar.org says there is no problem with the end tags being missing...
That is weird, I read the RFCs too and the tags are decidedly not optional...
It appears that microsoft has fixed their problem as of this morning - at least for my account.
Steps to reproduce
Try to sync an outlook calendar - it will not report any errors in the UI - but the log file will report various errors:
This has just broken in the last few days - likely due to some change Microsoft has made.
Here is a sample file generated by Microsoft - which cannot be imported by the next cloud calendar:
The file is valid, according to online syntax checkers I've run it against.
Expected behavior
parse and show calendar events
Actual behaviour
fails to parse any items from the shared calendar.
Calendar app version
4.5.2
CalDAV-clients used
No response
Browser
any
Client operating system
linux
Server operating system
No response
Web server
None
Database engine version
None
PHP engine version
None
Nextcloud version
No response
Updated from an older installed version or fresh install
None
List of activated apps
No response
Nextcloud configuration
No response
Web server error log
Log file
No response
Browser log
No response
Additional info
No response