Closed
Bug 1272988
Opened 10 years ago
Closed 10 years ago
Check for null when detecting outgoing invitations
Categories
(Calendar :: E-mail based Scheduling (iTIP/iMIP), defect)
Tracking
(Not tracked)
RESOLVED
FIXED
4.7.2
People
(Reporter: MakeMyDay, Assigned: MakeMyDay)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
1.39 KB,
patch
|
Fallen
:
review+
Fallen
:
approval-calendar-aurora+
Fallen
:
approval-calendar-beta+
Fallen
:
approval-calendar-esr+
|
Details | Diff | Splinter Review |
If a calendar refresh occurs while displaying an invitation email, the following error messages show up in the error console:
Zeitstempel: 08.05.2016 16:41:39
Fehler: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "aMsgHdr is null" {file: "chrome://lightning/content/imip-bar.js" line: 210}]'[JavaScript Error: "aMsgHdr is null" {file: "chrome://lightning/content/imip-bar.js" line: 210}]' when calling method: [calIOperationListener::onOperationComplete]
Quelldatei: file:///C:/Users/xxxxx/AppData/Roaming/Thunderbird/Profiles/7yrfxmv9.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js
Zeile: 509
Zeitstempel: 08.05.2016 16:41:39
Fehler: [Exception... "[JavaScript Error: "aMsgHdr is null" {file: "chrome://lightning/content/imip-bar.js" line: 210}]'[JavaScript Error: "aMsgHdr is null" {file: "chrome://lightning/content/imip-bar.js" line: 210}]' when calling method: [calIOperationListener::onOperationComplete]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///C:/Users/xxxxxxxxxxxx/AppData/Roaming/Thunderbird/Profiles/7yrfxmv9.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js :: calCompositeGetListenerHelper.prototype.onOperationComplete :: line 509" data: yes]
Quelldatei: resource://calendar/modules/calProviderUtils.jsm
Zeile: 641
The patch for bug 1241600 lacked a null check here.
In that case gMessageDisplay.displayedMessage is null, which triggers the error, though its not quite clear why it is.
| Assignee | ||
Comment 1•10 years ago
|
||
This patch simply adds a null check.
Attachment #8752603 -
Flags: review?(philipp)
Attachment #8752603 -
Flags: approval-calendar-esr?(philipp)
Attachment #8752603 -
Flags: approval-calendar-beta?(philipp)
Attachment #8752603 -
Flags: approval-calendar-aurora?(philipp)
Comment 2•10 years ago
|
||
Comment on attachment 8752603 [details] [diff] [review]
AddNullCheck-V1.diff
Review of attachment 8752603 [details] [diff] [review]:
-----------------------------------------------------------------
Would be interesting to know why this is null, but I am ok with the null check here.
Attachment #8752603 -
Flags: review?(philipp)
Attachment #8752603 -
Flags: review+
Attachment #8752603 -
Flags: approval-calendar-esr?(philipp)
Attachment #8752603 -
Flags: approval-calendar-esr+
Attachment #8752603 -
Flags: approval-calendar-beta?(philipp)
Attachment #8752603 -
Flags: approval-calendar-beta+
Attachment #8752603 -
Flags: approval-calendar-aurora?(philipp)
Attachment #8752603 -
Flags: approval-calendar-aurora+
| Assignee | ||
Comment 3•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 5.1
| Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/releases/comm-aurora/rev/5b0a987ce1965179956cc5262f3272ea1adc0861
https://hg.mozilla.org/releases/comm-beta/rev/0dbd8ee150fb62ac5e695db93c8293976a93d382
https://hg.mozilla.org/releases/comm-esr45/rev/629001d1a1a0da5ef05692bd2cf1170eae9db476
Target Milestone: 5.1 → 4.7.2
You need to log in
before you can comment on or make changes to this bug.
Description
•