Email attachment of .vcs file did not prompt to add calendar entry
Categories
(Calendar :: E-mail based Scheduling (iTIP/iMIP), defect)
Tracking
(thunderbird_esr91+ wontfix, thunderbird96+ affected)
People
(Reporter: clokep, Assigned: mkmelin)
Details
Attachments
(3 files)
...and importing it directly ended up with no events.
I have no idea if it is a valid event but was sent to me from my mechanic via xtime.com, so is probably not completely unique.
I've attached a redacted version of the file, I can send the original in private if necessary.
From my brief reading vcs == vCal, an older version of iCal and is supported by Thunderbird?
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
As a file that imports ok to me after changing the extension.
https://en.wikipedia.org/wiki/ICalendar says it's indeed an old kind of version.
File extension can also be .ical or .icalendar but should be .ics. We should loosen the checks a bit though.
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Reporter | ||
Comment 3•3 years ago
|
||
I don't think this is due to the filename extension -- I was able to import it fine without changing the file extension.
The issue is that once it was "imported" no events were found.
Assignee | ||
Comment 4•3 years ago
|
||
How did you import it?
Reporter | ||
Comment 5•3 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #4)
How did you import it?
I believe I did "Events and Tasks" > "Import ..." while on the calendar tab. I tried this again (after renaming the file) and it did work, so I must be forgetting exactly what I did. (I've also upgraded betas since then, not sure if that matters.)
Will the given patch also give an option to import from an email like ics files do? It looks like it only deals with importing the file manually.
Assignee | ||
Comment 6•3 years ago
|
||
The patch only enables manual import.
What was the mime type of the file when it came in? If it's not properly set as text/calendar not sure there's much we can do. If it had the right type, then I'd assume it would have been handled correctly to begin with.
Reporter | ||
Comment 7•3 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #6)
The patch only enables manual import.
What was the mime type of the file when it came in? If it's not properly set as text/calendar not sure there's much we can do. If it had the right type, then I'd assume it would have been handled correctly to begin with.
It seems to have not been set properly. Sad times! At least assuming I'm looking at the right spot:
Content-Type: application/octet-stream;
name=XXXX_en_US_Service_Appointments.vcs
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=XXXX_en_US_Service_Appointments.vcs
Assignee | ||
Comment 8•3 years ago
|
||
Yes, not much to do about that from our side.
Comment 9•3 years ago
•
|
||
If prompt means the imip bar, it shows for me on Daily. The events were also added however the imip bar does not seem to remember the event was added which is a bug.
Assignee | ||
Comment 10•3 years ago
|
||
If it's an email you sent yourself, probably it got the right mime type and things work out.
Comment 11•3 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/c9c611e56afe
can't import vcs (vCalendar 1.0) due to file name extension. r=lasana,darktrojan
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 12•3 years ago
|
||
Comment on attachment 9255332 [details]
Bug 1744985 - can't import vcs (vCalendar 1.0) due to file name extension. r=lasana,darktrojan!
[Approval Request Comment]
Regression caused by (bug #): not a regression
User impact if declined: can't import "ics"
Testing completed (on c-c, etc.): on beta for a while
Risk to taking this patch (and alternatives if risky): super low risk
Comment 13•3 years ago
|
||
Comment on attachment 9255332 [details]
Bug 1744985 - can't import vcs (vCalendar 1.0) due to file name extension. r=lasana,darktrojan!
[Triage Comment]
Approved for esr91
Comment 14•3 years ago
|
||
The calendar import code has changed; the patch does not apply on c-esr91. getItemsFromIcsFile() doesn't exist. Can you make a esr91 version?
Assignee | ||
Comment 15•3 years ago
|
||
Not important enough, let's wontfix then.
Updated•3 years ago
|
Description
•