If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

No address books are listed after deleting one address book



Address Book
5 years ago
a year ago


(Reporter: Twisted Lucidity, Unassigned, NeedInfo)



17 Branch

Firefox Tracking Flags

(Not tracked)




5 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
Build ID: 20130117041608

Steps to reproduce:

I was cleaning up my contacts and wanted to delete all the contacts under "Personal".  Thunderbird would not allow this (no error message or anything; the contacts would simply not delete).

I then tried to delete the "Personal" address book.

Actual results:

There was a warnming message about Thunderbird not being able to delete this because it was an "Evolution" book or something (I don't use Evolution) and that it would still be present if I reopened Thunderbird.

I did and now I am totally unable to work with any contact information as the "Tools/Address Book" "Directory Pane" is always blank.

I see this error in the jsconsole:
Timestamp: 02/02/13 18:45:20
Error: NS_ERROR_NOT_INITIALIZED: 'Component not initialized' when calling method: [nsIAbDirectory::childNodes]
Source File: chrome://messenger/content/addressbook/abTrees.js
Line: 44

Expected results:

I should have been able to delete the contacts.

I should have been able to delete the "Personal" address book.

I should be able to see all my address books listed in the "Directory Pane".

What I want to do now is recover the ability to work with contacts.  I don't mind if I have to erase all contact information (I have back-ups of that in LDIF files) but I really need to get "Tools/Address Book" working again.

Comment 1

5 years ago
The bug still stands, but a way to resolve it is to delete "directoryTree.json" from within the profile.  This get "Tools/Address Book" working again.
Component: Untriaged → Address Book
Severity: normal → critical
Keywords: dataloss
Is it still possible to delete PAB these days?  I don't think so. FOr me, delete is greyed out.
Severity: critical → major
Flags: needinfo?(acelists)

Comment 3

a year ago
Yes, it seems Personal addressbook can't be deleted today. But I do not see it would be a recent change. We would need to hear the exact message that TB produced as there are multiple warnings when deleting and addressbook (from the types that can be deleted).
Flags: needinfo?(acelists) → needinfo?(lucidlytwisted)
You need to log in before you can comment on or make changes to this bug.