Closed Bug 198966 Opened 22 years ago Closed 18 years ago

Creating a folder ~MyFolder~ is bad (Folder disappears after restart when folder name ends with "~")

Categories

(MailNews Core :: Database, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ohlemacher, Assigned: Bienvenu)

References

(Blocks 1 open bug)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 I created a folder named ~FromHome~. It worked fine. I created a filter and it moved a bunch of email into the new folder. When I restarted Mozilla, the folder did not appear. The files are in my home dir. The filter complained that the folder did not exist anymore. May be recoverable by renaming the email files....I will try it. Reproducible: Always Steps to Reproduce: 1. Create ~folderName~ 2. Put some mail in it. 3. Restart Mozilla Actual Results: The folder and mail are gone. Expected Results: Disallow creating a folder with tildas in the name. I lost data...emails.
Why Do you think that this is related to ldap ?
All right, maybe mail database is a better component.
Component: LDAP Mail/News Integration → Mail Database
.
Assignee: dmose → bienvenu
QA Contact: gchan → esther
it's not a mail database issue; it's a mail backend bug. It's probably a dup of the other bugs having to do with invalid characters in local folder names.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #4) >It's probably a dup of the other bugs David, I also believed so. But I could not find any other valid mail bug which includes "~" in summary and symptom relates to folder name. Next 15 bug found. Product = Thunderbird || mail&news Status = UNCONFIRMED || NEW || ASSIGNED || REOPENED RESOLUION = --- Summary contains = ~ bug 47386, bug 58345, bug 83693, bug 86082, bug 118267, bug 156572, bug 169395, bug 179502, bug 198966, bug 200395, bug 206463, bug 222526, bug 225364, bug 237974, bug 242474 And "~" related problem is not listed in dependency tree for meta bug 124287. As far as I remember, "~" problem was mentioned only by bug 94124 comment #12, which is "#" problem, and bug 124287 comment #13, which is the meta bug. So I list up this bug in meta bug 124287. Following is my test result on Thunderbird latest-0.9 2004/11/18 build(Win-2K). (1) ~FIRST => OK (first tilde) (2) LAST~ => Disapeared after restart (last tilde) Internal path for "LAST~" folder is ; mailbox:/C|/ ....... /Mail/test.test.test/Test.sbd/LAST~ Then resource under it becomes mailbox: .... /LAST~/xxxx. But "~/" is current working directry(on Unix)... Anyway, this is "New" bug, although very very old problem.
Sorry, ~/ was home directry.
Product: MailNews → Core
Add additional description to summary for ease of search.
Summary: Creating a folder ~MyFolder~ is bad → Creating a folder ~MyFolder~ is bad (Folder disappears after restart when folder name ends with "~")
Developers are now trying to resolve all of "starting dot"(Bug 229522) and "ending dot"(Bug 117840) and "ending tilde"(this bug) problems in Bug 229522. Watch Bug 229522, please.
QA Contact: esther → database
Marking FIXED by checkin for bug 229522.
Depends on: 229522
(In reply to comment #9) > Marking FIXED by checkin for bug 229522. This is still NEW, isn't it?
Thx. Really marking fixed, must have slipped before.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.