Bug 486721

Summary: Cannot import calendar from ICS file
Product: [Applications] Merkuro Reporter: Ghislain Vaillant <ghisvail>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 24.02.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ghislain Vaillant 2024-05-07 12:07:11 UTC
SUMMARY

Importing an agenda from an ICS file does not seem to work.  

STEPS TO REPRODUCE
1. File -> Import
2. Select an ICS file (mine was under my downloads folder)
3. Check the list of calendars on the left hand side 

OBSERVED RESULT

The agenda is not visible in the list. No user-facing error message as to why it was successfully imported. 
When launching the app with Konsole, the log hows:

```
kf.kio.filewidgets.kfilefiltercombo: Could not find file filter
qrc:/ImportHandler.qml:93: ReferenceError: fileUrl is not defined
```

EXPECTED RESULT

The agenda should be successfully imported, or a useful error message should be displayed if not.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 6.0
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0 
Qt Version:  6.7.0

ADDITIONAL INFORMATION