-
Notifications
You must be signed in to change notification settings - Fork 241
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
Check import ics for VTODOs and filter Calendars accordingly #2572
Comments
If you check the database (oc_calendars), does the component type field for the calendar contain VTODO or just VEVENT? |
Thanks for the hint! I used your tip from #2571 (comment) to force a detection of both types and it worked fine. How about to explain the user this auto-behaviour? (e.g. disable list item / textfield if detection was triggered / let user choose the supported types manually before import, ...) |
Hi, Solution: P.S. When creating a new task list, a new calender is automatially generated. So, it should just work the other way as well. All tested on NC 22.20, calender 2.3.4 and tasks 0.14.2 with PHP8.0-FPM, mysql 10.3.31 |
Suggested solution Check a file that is being imported before we start the process for the different types. If the file contains VTODOs only show calendars that support VTODO and also let the user know that this is the case so this information isn't inaccessible. I would also like to see the supported component types somewhere, so users know what types are supported for each calendar. |
Steps to reproduce
I compared the files, but they look fine so far (VCALENDAR surrounding items, VEVENT and VTODO items). I also tried the first files, which looks good. Changing filename doesn't solve the issue. Reimporting the original big file, doesn't also work anymore. Logout and new session doesn't helped as well.
Expected behaviour
Like all the other files, I wan't to import it to the same calendar so far.
Actual behaviour
I can't pick the right (existing) calendar, to add more items to this calendar.
(no browser console messages appear, explaining why the item is removed from the list)
Calendar app
Calendar app version: 2.0.4
CalDAV-clients used: -
Client configuration
Browser: Firefox 80
Operating system: Linux Mint 20
Server configuration
Operating system: CentOS
Web server: Nginx
Database: MariaDB
PHP version: (e.g. 7.0.3)
Nextcloud Version: 19.0.2
Updated from an older installed version or fresh install: fresh
The text was updated successfully, but these errors were encountered: