Open Bug 372811 Opened 18 years ago Updated 2 years ago

Creating new email folders containing a tab character fails silently with error console [nsIMsgFolder.createSubfolder]

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 Build Identifier: version 3 alpha 1 (20070305) If you create an email containing folder in the left side plane containing a TAB character, it wont be created. The create window stays active and reports nothing. Clicking OK a second time informs you its been created, which isnt the case. You can't actually test this by entering a tab in the folder name input box as a tab sets the focus onto the next dialog in the window. This is only testable when using a copy/pasted text string that contains a tab (how i found the bug!) Reproducible: Always Steps to Reproduce: 1.Copy into your OS clipboard a text string containing a tab character 2.Create a new folder in the folder view in Thunderbird 3.PASTE the text string into the folder name field 4.Attempt to click OK to create the folder. Actual Results: 1. No folder is created. 2. On a second click of OK a warning appears telling you its already been created when it wasnt.
Bug occurs in all current revisions of Thunderbird, from 1.x to 3.x alpha.
Version: unspecified → 2.0
Summary: Creating new email folders containing a tab character doesnt work → Creating new email folders containing a tab character causes confusion in Thunderbird (and user!)
(In reply to comment #0) Question to clarify: (Q1) IMAP? Or POP3? If POP3 or "Local Folders", usual local folder or search folder(virtual folder)? > 4.Attempt to click OK to create the folder. > Actual Results: > 1. No folder is created. (Q2) When usual local folder or search folder, what directory/file for mail folder is created under mail directory after "OK"? Or no directory/file is created? Please check directory/file status(what is added or removed) before/after each step, and describe detail like Bug 286523 Comment #1. (Q3) When usual local folder or search folder, and if file for mail folder is created, the file will appear as an mail folder(may be count of '???') when restart of Thunderbird. Will some mail folders newly appear after restart of Thunderbird?
To clarify in response to questions... 1) The Usual local folders. This may apply to IMAP as well but that wasnt how I discovered the bug and I havent been able to test with IMAP. 2) A originalfolder.sbd folder was created on the first OK of the folder creation dialog. This is for the folder I wanted to create the subfolder under. However nothing is placed within originalfolder.sbdvand the folder tree in the left pannel of Thunderbird doesnt update as theres no actual subfolder created. Confirmed by reloading Thunderbird, still no folder differences visible. 3) Answered in response to q2.
Assignee: mscott → nobody
error console contains Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.createSubfolder]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/mailCommands.js :: NewFolder :: line 286" data: no] Source File: chrome://messenger/content/mailCommands.js Line: 286
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Creating new email folders containing a tab character causes confusion in Thunderbird (and user!) → Creating new email folders containing a tab character fails silently with error console [nsIMsgFolder.createSubfolder]
Version: 2.0 → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.