Can't activate "All Folders" folder mode, JS error in setFolderPropertiesFromFolder() if server hostname is empty. Breaks 3pane
Categories
(Thunderbird :: Folder and Message Lists, defect, P1)
Tracking
(thunderbird_esr115+ fixed, thunderbird119 fixed)
People
(Reporter: javier, Assigned: mkmelin)
References
Details
Attachments
(3 files)
41.27 KB,
image/jpeg
|
Details | |
2.33 MB,
video/mp4
|
Details | |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr115+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Steps to reproduce:
Opción Ver > carpetas > todas las carpetas
Actual results:
Cuando activo la opción esta se vuelve a desactivar sola
Expected results:
Debería de mostrarse toda la lista de correos que tengo instalada y estas no aparecen.
(In reply to Francesco from comment #2)
Seems to fail here:
https://searchfox.org/comm-central/rev/bd56e46fbb19f0cd8a565a6ce324767521ab9dd7/mail/base/content/about3Pane.js#3931
Yes, but I don't know what I have to do or change to fix it.
The Thunderbird devs will need to fix it. In general, you have a folder without server type, so something is wrong. Some corrupt folder somewhere.
BTW, can you change the summary to: Can't activate folder mode "All folders", JS error in setFolderPropertiesFromFolder().
(In reply to Francesco from comment #4)
The Thunderbird devs will need to fix it. In general, you have a folder without server type, so something is wrong. Some corrupt folder somewhere.
BTW, can you change the summary to: Can't activate folder mode "All folders", JS error in setFolderPropertiesFromFolder().
The problem was that I had some accounts without a server name, since I only had them to consult historical emails, but as soon as I reconfigured the server name in those accounts I was able to see the all folders option.
Assignee | ||
Comment 6•8 months ago
|
||
The problem was that I had some accounts without a server name,
What server name did you use?
I'm fixing something similar in bug 1825374
(In reply to Magnus Melin [:mkmelin] from comment #6)
The problem was that I had some accounts without a server name,
What server name did you use?
I'm fixing something similar in bug 1825374
The name of the server corresponding to the email account.
For example: mail.server.com, mail.server.es, mail.myserver.com...
Assignee | ||
Comment 8•8 months ago
|
||
But that is a server name. What did you mean by "without a server name"? Please be very specific with any additional dots commas or other tokens you may have put in there to make the account not try to connect.
See comment #5:
The problem was that I had some accounts without a server name, since I only had them to consult historical emails, but as soon as I reconfigured the server name in those accounts I was able to see the all folders option.
Apparently some folders were moved into the profile without being connected to an account.
Assignee | ||
Comment 10•8 months ago
|
||
So somehow you got blank hostname set in the settings for that account?
Reporter | ||
Comment 11•8 months ago
|
||
If you want to use the account only to consult history, what you have to do is fill in the server name field with anything else. For example, you can put only the history (without name) in all the accounts you need.
Reporter | ||
Comment 12•8 months ago
|
||
You can also simply put the domain name
Assignee | ||
Comment 13•8 months ago
|
||
Well, only setting the hostname to something invalid through the UI won't reproduce a problem for me at least. How did you set the server hostname?
Assignee | ||
Comment 14•8 months ago
|
||
Nor through setting the pref directly.
Are the accounts IMAP or POP3?
Reporter | ||
Comment 15•8 months ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #13)
Well, only setting the hostname to something invalid through the UI won't reproduce a problem for me at least. How did you set the server hostname?
You have to go to the menu > tools > account settings and in the account you want, click on the server configuration option and in the server name section is where you configure it.
Reporter | ||
Comment 16•8 months ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #14)
Nor through setting the pref directly.
Are the accounts IMAP or POP3?
In my case they are POP3, but it doesn't matter what type of account you have installed, it works in any case
Assignee | ||
Comment 17•8 months ago
|
||
Though setting the hostname pref to empty in the prefs.js file does make the 3pane go blank. I'll see what we need to fix that.
Assignee | ||
Comment 18•8 months ago
|
||
(In reply to Javier from comment #15)
You have to go to the menu > tools > account settings and in the account you want, click on the server configuration option and in the server name section is where you configure it.
That doesn't let me save an empty hostname (server name)
Assignee | ||
Updated•8 months ago
|
Reporter | ||
Comment 19•8 months ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #18)
(In reply to Javier from comment #15)
You have to go to the menu > tools > account settings and in the account you want, click on the server configuration option and in the server name section is where you configure it.
That doesn't let me save an empty hostname (server name)
No, but you can put anything, for example your domain name (mydomain.com)
Assignee | ||
Comment 20•8 months ago
|
||
You can, but that doesn't reproduce any problem for me.
Reporter | ||
Comment 21•8 months ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #20)
You can, but that doesn't reproduce any problem for me.
No problem at the moment, you can change it at any time
Assignee | ||
Comment 22•8 months ago
|
||
Setting a blank hostname in the prefs never used to show folders for the account. (Tried back to version 91 at least).
But we shouldn't let having a broken account break the UI.
Assignee | ||
Comment 23•8 months ago
|
||
The UI doesn't allow such accounts. If somehow we got into the state of having no hostname,
the account is doomed and can never do anything useful, so don't load it at all.
If we allow such accounts, they will blow up the UI since we then end up with folders
that don't know which server they are belong to.
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Updated•8 months ago
|
Updated•8 months ago
|
Comment 24•8 months ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/88770ab51410
Don't load accounts that don't have a server hostname. r=john.bieling
Comment 25•8 months ago
|
||
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/7c4c1920c791 Follow-up, fix debug build bustage. rs=bustage-fix
Comment 26•7 months ago
|
||
good for beta?
Assignee | ||
Comment 27•7 months ago
|
||
Comment on attachment 9354538 [details]
Bug 1854064 - Don't load accounts that don't have a server hostname. r=john.bieling
[Approval Request Comment]
Regression caused by (bug #): the bug is not new, but the UI code in supernova is more sensitive to brokenness
User impact if declined: potential for blank 3pane
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): theoretically pretty safe. But better have it bake a bit on beta.
Comment 28•7 months ago
|
||
Comment on attachment 9354538 [details]
Bug 1854064 - Don't load accounts that don't have a server hostname. r=john.bieling
[Triage Comment]
Approved for beta
Comment 29•7 months ago
|
||
bugherder uplift |
Comment 30•7 months ago
|
||
Comment on attachment 9354538 [details]
Bug 1854064 - Don't load accounts that don't have a server hostname. r=john.bieling
[Triage Comment]
Approved for esr115
Comment 31•7 months ago
|
||
Can I uplift Bug 1851450? Will make the merge easier...
Comment 32•7 months ago
|
||
Sure, it's safe enough. Don't forget to take both patches.
Comment 33•7 months ago
|
||
bugherder uplift |
Description
•