Closed Bug 31121 Opened 25 years ago Closed 25 years ago

Can't delete a message in a pop/local mail subfolder

Categories

(MailNews Core :: Backend, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: scottputterman, Assigned: scottputterman)

Details

(Whiteboard: [PDT+] w/b minus on 03/10)

Create a subfolder in your pop or local mail accounts.
Copy a couple of messages into that new folder (due to another bug that I have a
fix for, you need to have more than one).
Try deleting one of those messages.

The message won't be deleted (It actually gets copied to the trash, but the
message doesn't get marked for deleting so it will still be in the original
folder even if you restart).

This is due to the fact that the function nsMailboxGetURI in nsMailboxUrl is not
doing the correct thing for subfolders.  It takes a path and is supposed to
return the uri, but for subfolders it doesn't remove any of the .sbd's from the
path and therefore it returns the wrong uri.

cc'ing alec in case he has any quick solutions.  Otherwise I will right some
code that removes the .sbd's.
marking beta1.  It seems like this could be common for pop users.
Keywords: beta1
I have a fix.  I will send out a patch for a code review later this morning.
I agree, this should go in for beta... a quick fix sounds good to me

(yet another reason we need to consolidate our URI handling after beta :))
QA Contact: lchiang → laurel
Putting on PDT+ radar for beta1. w/b minus on 03/10.
Whiteboard: [PDT+] w/b minus on 03/10
fix checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
OK using 2000-03-10-09m15 commercial build NT 4.0
OK usingi 2000-03-10-13m15 commercial build linux rh6.0
OK using 2000-03-10-14m15 commercial build mac OS 9.0
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.