Closed
Bug 1558084
Opened 6 years ago
Closed 6 years ago
List tree observer broken
Categories
(Calendar :: Dialogs, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
68
People
(Reporter: public, Assigned: public)
References
(Regression)
Details
Attachments
(1 file)
1022 bytes,
patch
|
pmorris
:
review+
Fallen
:
approval-calendar-beta+
|
Details | Diff | Splinter Review |
The calendar-list-tree component's observer is referencing a different 'this' than intended.
STR:
Thunderbird 68 (I tested on comm-beta), clean profile with Lightning
- Rename the default "Home" calendar
Expected:
No errors in the error console
Actual:
Error console shows
TypeError: this.listTree is undefined calendar-list-tree.js:230:29
onPropertyChanged chrome://calendar/content/widgets/calendar-list-tree.js:230
notify resource://calendar/modules/utils/calDataUtils.jsm:40
notify resource://calendar/modules/utils/calDataUtils.jsm:68
setProperty resource://calendar/modules/utils/calProviderUtils.jsm:671
set name resource://calendar/modules/utils/calProviderUtils.jsm:450
onAcceptDialog chrome://calendar/content/calendar-properties-dialog.js:78
_fireButtonEvent chrome://global/content/bindings/dialog.xml:433
_doButtonCommand chrome://global/content/bindings/dialog.xml:407
_handleButtonCommand chrome://global/content/bindings/dialog.xml:395
Updated•6 years ago
|
Blocks: track-lightning-7.0
Updated•6 years ago
|
Regressed by: calendar-list-tree-bindings
Comment 2•6 years ago
|
||
Comment on attachment 9070878 [details] [diff] [review]
fix against comm-beta
Review of attachment 9070878 [details] [diff] [review]:
-----------------------------------------------------------------
r+ Looks good to me, thanks for catching and fixing this.
Attachment #9070878 -
Flags: review?(paul) → review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 3•6 years ago
|
||
Comment on attachment 9070878 [details] [diff] [review]
fix against comm-beta
The patch applies cleanly to comm-central as well, thus requesting checkin into both comm-central and comm-beta.
Attachment #9070878 -
Flags: approval-calendar-beta?(philipp)
Updated•6 years ago
|
Assignee: nobody → public
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/be5c06a3f4d2
Fix 'this' reference in calendar-list-tree. r=pmorris
Updated•6 years ago
|
Target Milestone: --- → 7.1
Comment 5•6 years ago
|
||
TB 68 beta / Cal 7.0:
https://hg.mozilla.org/releases/comm-beta/rev/1d59bc431aca664f1e85e4c4ea311cc5e91468d4
Target Milestone: 7.1 → 7.0
Updated•6 years ago
|
Attachment #9070878 -
Flags: approval-calendar-beta?(philipp) → approval-calendar-beta+
You need to log in
before you can comment on or make changes to this bug.
Description
•