Open
Bug 502900
Opened 15 years ago
Updated 2 years ago
folder.hasSubFolders returns false until I call folder.subFolders.
Categories
(Thunderbird :: Folder and Message Lists, defect)
Thunderbird
Folder and Message Lists
Tracking
(Not tracked)
NEW
People
(Reporter: bwinton, Unassigned)
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
I was trying to fix Bug 465269, when I ran into a failing check at http://mxr.mozilla.org/comm-central/source/mailnews/base/resources/content/folderWidgets.xml#434 for a folder that I knew had sub-folders. (It was the root folder of a server, I believe.)
With the attached patch applied, when I start up, I see in the console log:
XXXXXX
folder.hasSubFolders 1 =false
folder.hasSubFolders 2 =false
folder.hasSubFolders 3 =true
which seems, in the words of jminta, "very sad and a scary bug". :)
I've got a workaround, so it doesn't really block 465269.
Thanks,
Blake.
Comment 1•15 years ago
|
||
MailUtils.discoverFolders is the current canonical way to force this:
http://mxr.mozilla.org/comm-central/source/mail/base/modules/MailUtils.js#69
Bienvenu, perhaps this should be explicitly compelled during the creation of the folders or more transparently in an on-demand fashion?
Updated•15 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•