Closed Bug 72854 Opened 24 years ago Closed 24 years ago

Error -->crash "invalid body partial" selecting filtered msg

Categories

(MailNews Core :: Filters, defect)

x86
Windows 98
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: laurel, Assigned: Bienvenu)

Details

(Keywords: crash)

Attachments

(1 file)

Using 2001-03-21-04 trunk build, win98 (haven't tested other platforms yet) On my IMAP account, after a message filter fires and moves a message, when I go to the destination folder and select the filtered message I'm getting an error that the command did not succeed "invalid body partial". After OK to the alert dialog, the selection line in the thread pane goes blank/grey and if I select another message in the destination folder I crash. So far I have seen this many times and is usually when the destination folder is a parent folder(has at least one subfolder). Steps: 1. Login to IMAP account, get messages. 2. Set up a simple filter having action to Move to Folder. Set the destination folder for a folder on the same IMAP server, folder which has at least one subfolder. 3. Send yourself a message which will match the filter. Get the message. Filter fires, new message indicated in the filter destination folder. 4. Select the destination folder, select the new message. Result: Error appears, command did not succeed "invalid body partial". 5. Select another message in the folder. Result: crash.
QA Contact: esther → laurel
there must be more involved in this - I do this all the time, and have not had any problems. Can you attach a protocol log, please? thanks! Does it only happen with one particular folder? I'm wondering if your folder is corrupt on the server.
Assignee: gayatrib → bienvenu
No, I've seen it with existing filters and new ones to varied folders. I haven't yet done it on a new profile, using a newly migrated one. Will get a log for you.
it looks to me like the message size for the filtered message was wrong. Also, the log you sent showed the code attempting to download the message bodies for all the messages in that folder, which was very very odd. How big was the message that got filtered? We tried to fetch the first 10K chunk, then a chunk from 10K to -8039, which is what the error was. Was the destination folder configured for offline use? (Not that that should cause a problem - I have folders at home that eget filtered to, and they don't have this problem.
Filtered message(s) were small (1-2k) in the test instance when I recorded the log. No folders were selected for offline use (one of the subfolders in the hierarchy happens to be named "offline"). When I first saw this problem, it was with bug reports being filtered to a folder (on same IMAP server), so it happens with varying sizes. Maybe a side issue which adds to this problem: This same account was showing evidence of the subfolder weirdness described in 72871, I don't know if that matters.
whoops, misread the log. It's trying to fetch the wrong uid - it's trying to fetch the uid body for uid 38, but the offline folder only has uid's 1-7. the six5 folder does have uid 38, but we're trying to read it from the wrong folder. Very odd.
I'm still having this problem with mar28 commercial trunk build, win98. I re-migrated these profiles today -- I removed mozregistry.dat and the mozilla directory from Applications Data. I went into 4.7 and verified I could access messages in the offending parent folders -- all okay. Migrated, logged in. Went to said parent folders and tried selecting a message and no matter what message was selected I go the body partial error.
Keywords: nsbeta1
I don't know if this will help any, but I attached a talkback report -- I crashed selecting the parent folder where there'd been "body partial" (sounds like a good horror movie title) errors.
Keywords: nsbeta1
fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Looks good to me using apr2 commercial trunk build, win98.
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.

Attachment

General

Creator:
Created:
Updated:
Size: