Closed
Bug 445343
Opened 16 years ago
Closed 16 years ago
adding imap saved search creates unneeded .sbd
Categories
(MailNews Core :: Search, defect)
MailNews Core
Search
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.1a1
People
(Reporter: Bienvenu, Assigned: Bienvenu)
Details
Attachments
(1 file)
1.14 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
When we create an imap saved search, it creates a .sbd folder for that saved search - I think it really means to be creating a .sbd folder for the parent folder.
Assignee | ||
Comment 1•16 years ago
|
||
I think this is what the code meant to do - create a .sbd folder for the parent folder. I'm still working on some other isses having to do with escaping folder names. I want to make sure everything is fixed before getting reviews, in case the patches are dependent on each other.
Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 329693 [details] [diff] [review] proposed fix turned out the %20 names was unrelated to this issue, so this fix should be sufficient for this issue.
Attachment #329693 -
Flags: superreview?(neil)
Attachment #329693 -
Flags: review?(neil)
Comment 3•16 years ago
|
||
Comment on attachment 329693 [details] [diff] [review] proposed fix >+ PRBool isServer; >+ rv = GetIsServer(&isServer); >+ NS_ENSURE_SUCCESS(rv, rv); >+ >+ if (!isServer) >+ { >+ } I don't think this is necessary - the code checks whether the directory name exists with and without a .sbd before creating it with a .sbd, and (at least in my tests) the server folder is always created when the account is created. It's good to be getting rid of that unsafe-looking static cast :-)
Attachment #329693 -
Flags: superreview?(neil)
Attachment #329693 -
Flags: superreview+
Attachment #329693 -
Flags: review?(neil)
Attachment #329693 -
Flags: review+
Assignee | ||
Comment 4•16 years ago
|
||
I think you're right - I've [gladly] gotten rid of the isServer check locally.
Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1a1
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
•