Closed
Bug 768779
Opened 13 years ago
Closed 13 years ago
identities list does not refresh the list after an identity is edited or added
Categories
(MailNews Core :: Account Manager, defect)
MailNews Core
Account Manager
Tracking
(thunderbird14+ fixed, thunderbird15+ fixed)
VERIFIED
FIXED
Thunderbird 16.0
People
(Reporter: aceman, Assigned: aceman)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
5.97 KB,
patch
|
standard8
:
review+
standard8
:
approval-comm-aurora+
standard8
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
After an identity is edited or added, the list is not refreshed so it does not show the change or new identity. The dialog must be closed and opened again to see new values.
This is caused by the am-identity-edit.xul/js not returning .result = true in the window arguments. That in turn is caused by failure in onOK() due to this:
Error: prettyFolderName is not defined
Source File: chrome://messenger/content/am-copies.js
Line: 159
The error is normally hidden but I added try {} catch {} to find it. This must be fallout from bug 451728.
However I am not sure why it happens. am-identity-edit.xul includes and overlay from am-copiesOverlay.xul that in turn includes amUtils.js which includes the prettyFolderName function.
I have noticed this in TB16. But bug 451728 went into TB14. I have not tested that one yet, but if the problem is there, I must fix this ASAP, so setting the flag (wonder why there is no tracking-thunderbird15 flag).
Well, the is now a tracking-thunderbird15 flag, but it was not accessible directly in the bug creation form (a bug in bugzilla?) while the others are.
tracking-thunderbird15:
--- → ?
You can also see a manifestation of the bug by going into an identity and seeing the Copies&folders tab. Some of the folderpickers may be empty, even though they should be initialized to the values set at the main identity on the main Copies&folder pane of the account.
I can confirm the problem is in TB14.
OS: Windows XP → All
Hardware: x86 → All
It looks like the file amUtils.js was not properly loaded into the am-copiesOverlay.xul due to duplicate constant nsIFilePicker definition (it was in both files). I have no idea why it wasn't a problem when the same overlay was loaded in the Copies&Folders pane.
Attachment #637275 -
Flags: review?(mbanner)
Better checkin message.
Attachment #637275 -
Attachment is obsolete: true
Attachment #637275 -
Flags: review?(mbanner)
Attachment #637281 -
Flags: review?(mbanner)
Comment 6•13 years ago
|
||
Comment on attachment 637281 [details] [diff] [review]
patch v2
Looks good, r=me and a=me for landing on the branches.
Attachment #637281 -
Flags: review?(mbanner)
Attachment #637281 -
Flags: review+
Attachment #637281 -
Flags: approval-comm-beta+
Attachment #637281 -
Flags: approval-comm-aurora+
Comment 7•13 years ago
|
||
Checked in:
https://hg.mozilla.org/comm-central/rev/9128c033ee05
I'll do branches later.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: regression
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 16.0
Comment 8•13 years ago
|
||
Checked in:
https://hg.mozilla.org/releases/comm-aurora/rev/082722bf72f6
https://hg.mozilla.org/releases/comm-beta/rev/9e738cd01a38
status-thunderbird14:
--- → fixed
status-thunderbird15:
--- → fixed
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•