Closed Bug 125868 Opened 23 years ago Closed 22 years ago

mail folders renamed with "," character become inaccessable and corrupt

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 41944

People

(Reporter: alex, Assigned: sspitzer)

Details

(Keywords: dataloss)

From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en]C-CCK-MCD DT  (Windows NT 5.0; U)
BuildID:    20020204

Whenever a mail folder is renamed and the new name contains a "," character, 
Mozilla behaves very strange - sometimes the content of mail foders will even be 
destroyed and inaccessably by the user (e.g. after renaming folders)!



Reproducible: Always
Steps to Reproduce:
1. Create a new mail-folder "Test1" under "Inbox"
2. Create a new mail-folder "Test2" under "Test1"
3. Copy a mail into "Test2" (leave "Test1" empty)
4. Switch between "Inbox", "Test1" and "Test2" - all mail lists on the right are 
updated correctly
5. Rename "Test1" to "Test1,Test"
6. Switch between "Inbox", "Test1,Test" and "Test2" - the mail list for 
"Test1,Test" and "Test2" will never be updated again (the mail list content of 
"Inbox" remains)
7. Restart Mozilla completely and return to the Mail module
8. The renamed folder "Test1,Test" will NOT contain a sub-folder "Test2" any 
more. Instead, Mozilla will display all mail folders under "Inbox" (containing a 
"," character) which had ever existed under "Inbox" and which had all been 
deleted before!
9. Delete the folder "Test1,Test" -> it will be moved into "Trash"
10. Try to create a new folder "Test1,Test" under "Inbox" - Mozilla will 
complain that the folder already exists, although it was just deleted before!
10. Restart Mozilla completely
11. Go to the Mail module, then into the "Trash" folder
12. The folder "Test1,Test" under "Trash" will contain the content of the 
previously disappeared "Test2" in a folder whose name looks like a random 
number!

Mozilla has huge problems with mail folders being renamed to a name containing 
the "," character. Next to the reported problems, if you import Netscape 4.x 
profiles with mail folder containing "," characters, Mozilla will destroy the 
mail folder structure and insert un-accessable sub-folders with randmom-number 
titles instead!



Actual Results:  (see also above, "steps to reproduce")

1. The mail list of a mail folder whose name contains a "," character (and those 
of its sub-folders) are not displayed/updated any more

2. Sub-folders of mail folders whose name contains a "," character are not 
accessable any more after a Mozilla restart.

3. Deleted folders whose name contains a "," character somehow remain in their 
original position (you cannot create a new folder with the same name after 
Mozilla's restert; the deleted folders will also be disappeared from Trash).

4. When importing folders from Netscape 4.x profiles and inserting new mails 
into sub-folders whose name contains a "," character, Mozilla will create 
ghost-folders whose name is built from a random number.



Expected Results:  Mozilla mustn't behave any different whether a mail folder 
name contains the "," character or not! All folders as well as their mail 
content must remain fully intact and accessable!
similar: bug 98883
Keywords: dataloss
QA Contact: esther → sheelar
Alexander do you still get this problem with a current Mozilla
build ?
aint this a dupe of bug 41944 ? 
Duping to 41944 per comments 8 and 9 in that bug.

*** This bug has been marked as a duplicate of 41944 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
vrfy dup
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.