Closed Bug 144929 Opened 23 years ago Closed 22 years ago

Using Rename Folder to change case throws alert

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 92165

People

(Reporter: julian.carver, Assigned: sspitzer)

References

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051009 When trying to use rename folder to change the case of a folder name, eg from 'It' to 'IT', it gives the alert "A folder with that name already exists. Please enter a different name.", and it won't let me change the case. Reproducible: Always Steps to Reproduce: 1.Create a new mail folder called 'It' 2.Right click on the folder and choose Rename Folder 3.In the small dialogue box change the lowercase 't' to uppercase 'T' Actual Results: An alert is shown: "A folder with that name already exists. Please enter a different name." and the change cannot be made. Expected Results: It should have let me change the case for the mail folder name. It seems it's doing a check when folders are created or renamed to prevent duplicates, and is getting hung up on itself...
I can confirm this also happens on Win98, Build ID: 2002053012 (1.0). Yeah, maybe it's been fixed since then, we're both using old builds, but I'll test it on Linux tomorrow at work, rather than risk borking W98 completely with a beta Mozilla build ;)
Reconfirming that this is still happening on nightly build 2002081208 on Red Hat 7.2.
See also 92165
*** Bug 168090 has been marked as a duplicate of this bug. ***
*** Bug 170263 has been marked as a duplicate of this bug. ***
I think there are two separate but similar bugs here: 1. When checking a folder name against other folder names to avoid duplicates, mailnews should not check against the name of the folder being renamed, as that name will disappear in the process of renaming. Note that this bug is independent of case, as can be seen when you try to execute a rename that doesn't change anything, neither the name nor the case. Just click on "rename folder", and then hit ENTER. This rename, although silly, would not cause a problem since it doesn't change the state of the folders in any way. So there should not be an error message. But instead the "A folder of that name already exists" alert is thrown. Fixing this would fix the problem described in this bug. 2. The other issue is, should it be permissable to have two folders whose names differ only by case. If so, then the rename check should be case-dependent, and this is a separate bug. If not, then the case-independence of the renaming check is not a problem, and only problem 1. exists.
This is a dup of bug 92165.
*** This bug has been marked as a duplicate of 92165 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.