Closed
Bug 200988
Opened 22 years ago
Closed 22 years ago
nsImapProtocol::DiscoverMailboxList can't list all folders
Categories
(MailNews Core :: Networking: IMAP, defect)
MailNews Core
Networking: IMAP
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 200989
People
(Reporter: calvin.liu, Assigned: calvin.liu)
Details
Hi, Bienvenu,
A piece of code in this method like this.
...
if (usingSubscription) // default,
//set the option "Show only subscribed folders" checked.
{
pattern.Append(prefix);
pattern.Append("*");
}
else //set the option "Show only subscribed folders" unchecked.
{
pattern.Append(prefix);
pattern.Append("%"); // mscott just need one percent right?
// pattern = PR_smprintf("%s%%", prefix);
char delimiter = ns->GetDelimiter();
if (delimiter)
{
// delimiter might be NIL, in which case there's no hierarchy anyway
pattern2 = prefix;
pattern2 += "%";
pattern2 += delimiter;
pattern2 += "%";
// pattern2 = PR_smprintf("%s%%%c%%", prefix, delimiter);
}
}
...
Don't know why we assign pattern2 a value like "prefix%delimiter%" here, but not
"prefix*" or something like that. I guess there must be some reasons. But what's
that?
Currently, if user has the option "Show only subscribed folders" unchecked,
he'll see only 2 level folders. If he wants to see more, he has to expand the
tree manually. Sounds inconvenient, right?
Calvin
Assignee | ||
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 200989 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•