elementary / elementary/calendar

When trying to import an ICS file attached to an email no calendars are found

Open
#701 2 comments 4 reactions 0 assignees View on GitHub
Priority: Medium Status: Confirmed
Dominant language
Vala
Stars
136
Forks
42
Avg merge
8h 33m
Merged PRs (30d)
3

Description

## What Happened
Not sure if this is a Calendar issue or a Mail but I decided to open it for Calendar. If that's not the case, just let me know and I will open it for Mail instead.

When trying to import an ICS file attached to an e-mail, Calendar opens, the "Select a calendar to import into" dialog opens, but no calendars are listed and the search doesn't return any results for known calendars so the event cannot be imported.
On the other hand if I save the ICS file attached to the e-mail, to disk and then I open the ICS file by clicking on it, Calendar opens, the "Select a calendar to import into" dialog opens and my calendar is listed without even having to search for it.

## Expected Behavior
When clicking on the ICS file attached to the email Calendar opens, the "Select a calendar to import into" dialog opens and my calendar is listed without even having to search for it.

## Steps to Reproduce
1. Make sure Calendar is not running.
2. Open the Mail app
3. Select an e-mail with an ICS file attached
4. Clic on the ICS file to open it
5. Wait for Calendar to open and the "Select a calendar to import into" dialog to appear.
6. No calendar is listed and searching doesn't bring any results.

### Logs
![image](https://user-images.githubusercontent.com/15861819/131992397-7fbdc7fd-9320-46e7-af86-bc890f0a6963.png)

## Platform Information
elementary OS 6 Odin
Calendar version: maya-calendar/focal,now 6.0.1+r2122+pkg137\~ubuntu6.1
Mail version: io.elementary.mail/focal,now 6.1.1+r701+pkg24\~ubuntu6.1

EDIT: add an additional step in repro according to my comment below.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/101159477-when-trying-to-import-an-ics-file-attached-to-an-email-no-calendars-are-found?utm_campaign=plugin&utm_content=tracker%2F60388692&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60388692&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.