[go: nahoru, domu]

Open Bug 368231 Opened 18 years ago Updated 2 years ago

server_sub_directory visible in folder list

Categories

(MailNews Core :: Networking, defect)

defect

Tracking

(Not tracked)

People

(Reporter: anlan, Unassigned)

Details

For an IMAP server

1) Show all folders (not only subscribed folders)
2) Specify a server directory

Like this:

user_pref("mail.server.server2.using_subscription", false);
user_pref("mail.server.server2.server_sub_directory", "Mail");

IMAP log:
9[e87bb8]: 109cdb8:ida.liu.se:A:SendData: 4 list "" "Mail/%"
9[e87bb8]: ReadNextLine [stream=123c628 nb=30 needmore=0]
9[e87bb8]: 109cdb8:ida.liu.se:A:CreateNewLineFromSocket: * LIST (\NoSelect) "/" Mail/
9[e87bb8]: ReadNextLine [stream=123c628 nb=52 needmore=0]
9[e87bb8]: 109cdb8:ida.liu.se:A:CreateNewLineFromSocket: * LIST (\NoInferiors \UnMarked) "/" Mail/Templates
...

"Mail" will appear in the account's folder list looking like a folder containing subfolders but there are none. Creating a subfolder of "Mail" will make it appear on the same level, not as a subfolder (sibling, not child).

The pref is read through nsImapIncomingServer::GetServerDirectory. I guess a call should in somewhere where the folder list is built?
QA Contact: grylchan → mailnews.networking
Product: Core → MailNews Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.