Attempting to convert to email to an event without loading message preview throws "Uncaught TypeError: can't access property "getSelection", getMessagePaneBrowser().contentWindow is null"
Categories
(Thunderbird :: General, defect)
Tracking
(thunderbird_esr78 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
People
(Reporter: lasana, Assigned: lasana)
Details
Attachments
(1 file)
STR:
- Open Thunderbird, do not select any messages.
- Right click on a mail message and click Convert To > Email.
Expected Results:
The new event dialog should load.
Actual Results:
Nothing loads, an error is thrown.
It appears that there is no contentWindow available (or access is restricted) when message pane displays the "Welcome to Thunderbird" screen.
https://searchfox.org/comm-central/source/calendar/base/content/calendar-extract.js#124
^ The code trying to access it however, appears to be specific to an extension and not necessary for the extraction to continue.
Assignee | ||
Comment 1•3 years ago
|
||
So should I remove the Thunderbird Conversations specific code or just ignore that block if the content window is not available?
Assignee | ||
Comment 2•3 years ago
|
||
Never mind, this can be fixed easily.
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/a294f959ab64
Do not attempt getSelection() if no contentWindow available when converting to event. r=darktrojan
Description
•