Newly Added Additional Identities not Listed in "Alias Identity" Dialog
Categories
(Thunderbird :: Account Manager, defect)
Tracking
(thunderbird_esr78+ fixed, thunderbird82 affected)
People
(Reporter: mails.bugzilla.mozilla.org, Assigned: mkmelin)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
46.23 KB,
patch
|
mkmelin
:
review+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Steps to reproduce:
Account Manager -> Select Account -> Button "Further Identities" ("Weitere Identitäten...") on bottom right -> add additional identity
Actual results:
The new identity is not shown in the dialog. It looks as if creation of the new identity silently failed.
In fact, the new identity was created in the background, however, and the dialog has to be closed and re-opened - then the new identity will be shown. This caused me to create an identity over and over three times until I noticed... :-/
Expected results:
The newly created identity should be shown in the dialog after creation.
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Yep. Basically the End-to-end tab can't work without having an identity so things blow up quite a bit...
What do you mean Magnus?
There is no "end-to-end" tab in the "manage identities" dialog. Also, it was not said that there are no identities at the start (usually at least one is created at account setup), only that new ones do not appear immediately in the list.
This clearly worked in the past. What could have regressed this?
But I confirm it. There are some errors when creating the new identity:
Uncaught TypeError: can't access property "key", gIdentity is null
e2eInitializeFields chrome://messenger/content/am-e2e.js:99
e2eOnLoadEditor chrome://messenger/content/am-e2e.js:561
EventListener.handleEvent* chrome://messenger/content/am-identity-edit.xhtml:44
am-e2e.js:99:26
e2eInitializeFields chrome://messenger/content/am-e2e.js:99
e2eOnLoadEditor chrome://messenger/content/am-e2e.js:561
(Async: EventListener.handleEvent)
<anonymous> chrome://messenger/content/am-identity-edit.xhtml:44
Uncaught TypeError: can't access property "value", gTechChoices is null
e2eSave chrome://messenger/content/am-e2e.js:278
e2eOnAcceptEditor chrome://messenger/content/am-e2e.js:301
onOk chrome://messenger/content/am-identity-edit.js:215
_fireButtonEvent chrome://global/content/elements/dialog.js:487
_doButtonCommand chrome://global/content/elements/dialog.js:466
_handleButtonCommand chrome://global/content/elements/dialog.js:460
_configureButtons chrome://global/content/elements/dialog.js:361
connectedCallback chrome://global/content/elements/dialog.js:163
<anonymous> chrome://global/content/customElements.js:217
EventListener.handleEvent* chrome://global/content/customElements.js:209
<anonymous> chrome://global/content/customElements.js:862
<anonymous> chrome://messenger/content/customElements.js:14
<anonymous> chrome://messenger/content/customElements.js:37
observe resource://gre/modules/MailGlue.jsm:234
am-e2e.js:278:5
Assignee | ||
Comment 3•4 years ago
|
||
I was referring to the end-to-end tab of where you edit the identity. That tab simply can't work without an email. I checked an older version too and it didn't really work for S/MIME either (shows but couldn't actually set the certificates) but I guess nobody ever reported it.
And what email is it missing? When you create an identity, you input one.
Assignee | ||
Comment 5•4 years ago
|
||
When use Add, you get New Identity, that doesn't have an email yet before you add one - still the E2E tab is there, but can't work.
I noticed the same issue. I guess it is new in Thunderbird 78, it did not happen before. I am using Archlinux.
@magnus: I am not sure if you can reproduce the bug correctly, it seems you two are talking about different issues.
Let me try again:
- Open Account settings
- Click "Manage Identities..."
- Click "Add..."
- Enter a Name and a valid Email
- Click "Ok"
- The new identity is not show in the list
- Close the dialog
- Click "Manage Identities..." again
- The identity is now shown
Exactly the same issue for me, also using Arch Linux and Thunderbird 78.4.3. I have to re-open the "Manage identities"-window after creating the new identity.
Assignee | ||
Comment 9•4 years ago
|
||
Something to look at when you get back :)
There was (and is still) a lot of really messy code in the e2e account/identity settings. I cleaned it up a bit.
The problem here is really that e2e always need an email to be connected to - which doesn't exist when we set up a new identity. Before we have that we can't really do anything for the whole tab. S/MIME has been broken in this regards forever as well... so in this patch I hide the e2e tab until we have an email. It would really be better to have the setup of new identities go through some flow instead of the current setup....
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
Still broken on ESR 78. Any plans to get this fixed? It's very surprising that you add something and it's not there.
Assignee | ||
Comment 12•4 years ago
|
||
I updated the code but haven't had time to make the test test it yet.
Assignee | ||
Comment 13•4 years ago
|
||
Updated. Will send it to try later.
Assignee | ||
Comment 14•4 years ago
|
||
Comment on attachment 9202808 [details] [diff] [review]
bug1670464_identity_mess.patch
Comment 15•4 years ago
|
||
Assignee | ||
Comment 16•4 years ago
|
||
Thanks. I did a bit of adjusting how the key selection works.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 17•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4cce61b48bab
Newly Added Additional Identities not Listed in "Alias Identity" Dialog. r=aleca
Assignee | ||
Comment 18•4 years ago
|
||
Comment on attachment 9203296 [details] [diff] [review]
bug1670464_identity_mess.patch
[Approval Request Comment]
Regression caused by (bug #): unknown, partly "always" was this way, but worse from openpgp
User impact if declined: per bug summary
Testing completed (on c-c, etc.): on beta
Risk to taking this patch (and alternatives if risky): medium risk as the code was very messy
Comment 19•4 years ago
|
||
Comment on attachment 9203296 [details] [diff] [review]
bug1670464_identity_mess.patch
[Triage Comment]
Approved for esr78
It's been on beta for about a week and I see no regressions reported
Comment 20•4 years ago
|
||
bugherder uplift |
Thunderbird 78.8.1:
https://hg.mozilla.org/releases/comm-esr78/rev/1ee5b745f623
Description
•