Closed Bug 387064 Opened 18 years ago Closed 6 years ago

Warning on Startup: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed: nsLocalMailFolder.cpp, line 271 when account manager is loading virtual folders, it calls nsMsgDBFolder::AddSubFolder

Categories

(MailNews Core :: Backend, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mscott, Unassigned)

Details

(Whiteboard: [qaw: (still) reproducible?])

On startup, I see several warnings dumped to the console saying: WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed: file c:/build/trees/tb-trunk/m ozilla/mailnews/local/src/nsLocalMailFolder.cpp, line 271 This happens when the account manager is loading virtual folders, it calls nsMsgDBFolder::AddSubFolder to add the virtual folder to its parent. However, AddSubFolder first trys to get a child with the URI that maps to the virtual folder and it turns out it already knows about it so it returns an error, NS_MSG_FOLDER_EXISTS. Looking in my profile, I see a summary file for the VF and a 0 byte berkely mailbox folder for the VF. I expected the former, but not the later. I wounder if that's why we already know about the VF.
Product: Core → MailNews Core
Keywords: qawanted
Whiteboard: [qaw: (still) reproducible?]

Is this still seen on startup?

Flags: needinfo?(acelists)
Keywords: qawanted
Summary: Warning on Startup: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed: nsLocalMailFolder.cpp, line 271 → Warning on Startup: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed: nsLocalMailFolder.cpp, line 271 when account manager is loading virtual folders, it calls nsMsgDBFolder::AddSubFolder

I don't see this. Also I do not see the 0-byte mbox file.

Flags: needinfo?(acelists)

thanks

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.