Open miaulalala opened 2 years ago
Not directly related, but can you share the non-compliant vcomponent in question?
Not directly related, but can you share the non-compliant vcomponent in question?
no i can't as I couldn't figure out which one it was :crying_cat_face:
Downloaded the entire calendar from Google but I didn't see anything obvious.
Components I had were (as an approximate structure)
VCALENDAR
VTIMEZONE
/DAYLIGHT
/STANDARD
VTIMEZONE
VEVENT
/VALARM
VEVENT
VCALENDAR
It's likely an issue with a previous end of line rather than a new component start.
I'd say adding OPTION_IGNORE_INVALID_LINES
to the parser (we already have OPTION_FORGIVING
) would probably do it.
If you have the time, you can play with the debugger and set a breakpoint just before the exception to get the offending line.
Not yet, but I will hopefully look into it soon.
Steps to reproduce
Add a google calendar via share link.
Expected behavior
The parser skips VComponents gracefully and still displays allowed VComponents VCARD and VCALENDAR.
OR
The calendar entry in the left sidebar in calendar shows an error icon that let's the user know there is an issue with this calendar.
Actual behaviour
The parser fails and doesn't show any events at all.
Calendar app version
No response
CalDAV-clients used
Web
Browser
No response
Client operating system
No response
Server operating system
No response
Web server
Apache
Database engine version
MySQL
PHP engine version
PHP 8.0
Nextcloud version
No response
Updated from an older installed version or fresh install
No response
List of activated apps
No response
Nextcloud configuration
No response
Web server error log
No response
Log file
No response
Browser log
No response
Additional info
No response