Closed Bug 498914 Opened 17 years ago Closed 17 years ago

moving imap folders generating gloda assertions

Categories

(MailNews Core :: Database, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b3

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(1 file)

Standard8, in bug 496905, which involves moving imap folders within a server, reports : I am seeing various gloda assertions such as: ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "srcURI is not defined" {file: "file:///Users/moztest/comm/main/tb/mozilla/dist/ShredderDebug.app/Contents/MacOS/modules/gloda/indexer.js" line: 2176}]' when calling method: [nsIMsgFolderListener::folderMoveCopyCompleted]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "<unknown>" data: yes] ************************************************************ and ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [mozIStorageStatement.bindInt64Parameter]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: file:///Users/moztest/comm/main/tb/mozilla/dist/ShredderDebug.app/Contents/MacOS/modules/gloda/datastore.js :: gloda_ds_markMessagesDeletedByFolderID :: line 2220" data: no] ************************************************************ I didn't see this for the case of dragging a single folder around, but when I moved a hierarchy, I did see these (actually, just the bindInt64 one...)
Attached patch proposed fixSplinter Review
I don't know if gloda does the right thing on folder move/deletion now, but at least it has a fighting chance :-)
Assignee: nobody → bienvenu
Attachment #383796 - Flags: review?(bugmail)
Attachment #383796 - Flags: review?(bugmail) → review+
fix checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: