Open Bug 391263 Opened 17 years ago Updated 10 years ago

Addresses disappears in local personal address book (Both first LDAP directory and 'Personal Address Book' points same abook.mab)

Categories

(MailNews Core :: Address Book, defect)

x86
All
defect
Not set
critical

Tracking

(Not tracked)

People

(Reporter: cpd, Unassigned)

References

Details

(Keywords: dataloss)

Attachments

(6 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322) Build Identifier: 2.0.0.6 (20070728) Sometimes the addresses defined in a personal catalog in the address book disappears. Without apparent reason. But when I write a new message and click on the contact button (toolbar in the new message window) then it usually works. After closing Thunderbird and reopen then it usually works. It doesn't work to just close the address book. Reproducible: Sometimes Steps to Reproduce: Difficult to say. It happens some 3 or 4 times a day. Actual Results: 1. Open the adress book 2. Click on the address catalog 3. Only appears some addresses 4. After closing Thunderbird appears all addresses I suspect that the problem is related with blocked queries in the catalog, because appears some addresses. After closing Thunderbird appears all addresses.
does this happen if you start in safe mode? http://kb.mozillazine.org/Safe_mode
Version: unspecified → 2.0
Do you use extension of "Addressbooks Synchronizer"? Problem of "duplicated address book creation" exists(not resolved yet), https://addons.mozilla.org/ja/thunderbird/discussions/comments.php?DiscussionID=2059&page=1#Item_0 and next phenomenon after use of "Addressbooks Synchronizer" was reported to a forum in Japan. (1) An address list is expanded correctly, just after restart only. (read from expected/correct address book) (2) Once address book is opened, address list is expanded incorrectly. (read form unexpected/duplicated/old/incorrect address book) This is same phenomenon as your following comment. > After closing Thunderbird and reopen then it usually works. In this case, -safe-mode only can do nothing sometimes, because already generated dupulicates exist. Deletion of duplicates is also required.
(In reply to comment #1) > does this happen if you start in safe mode? > http://kb.mozillazine.org/Safe_mode yes, in the same way.
(In reply to comment #2) > Do you use extension of "Addressbooks Synchronizer"? > Problem of "duplicated address book creation" exists(not resolved yet), > https://addons.mozilla.org/ja/thunderbird/discussions/comments.php?DiscussionID=2059&page=1#Item_0 > and next phenomenon after use of "Addressbooks Synchronizer" was reported to a > forum in Japan. > (1) An address list is expanded correctly, just after restart only. > (read from expected/correct address book) > (2) Once address book is opened, address list is expanded incorrectly. > (read form unexpected/duplicated/old/incorrect address book) > This is same phenomenon as your following comment. > > After closing Thunderbird and reopen then it usually works. > In this case, -safe-mode only can do nothing sometimes, because already > generated dupulicates exist. Deletion of duplicates is also required. I don't use Addressbooks Synchronizer. Only Lightning, xNote, ReminderFox, Brazilian Portuguese Dictionary and Message Filter Export/Import. In themes, only the default TB theme. In safe-mode it happens in the same way.
> Sometimes the addresses defined in a personal catalog in the address book disappears. Does "the address book" mean local address book? Or LDAP directory? What do you mean by "a personal catalog"? One called "List(Mailing List)" by Thunderbird? Following is questions when "local address book". What address books are defined? What files for address books exist in your pfofile? (1) Go Tools/Options/Advanced/General/Config Editor Put .filename in filter field LDAP_2.servers.XXX.filename will appear where XXX is; default, pab, history, <added_abook_name(may be part of name)> (2) Check Thunderbird's profile directory Is there any yyyy.mab file other than listed at step (1)?
This image shows the address book before the problem to happen. Note that all the addresses are usually appearing.
Attached image Error Happened
In this moment problem happened. Note that addresses disappeared.
Mistake happens when contact sidebar is open. Note that when the contact sidebar is open, then occurs the mistake with the address books. To open the contact sidebar in the message, I click on the button "Contact" of the toolbar.
Attached image Contact sidebar open
Sample of open contact sidebar (address book) in the message.
Very important: 1. It also happens in Windows XP and 2003 2. In safe mode also and with clean installation of Thunderbird (with no add-ons) 3. I created the files *. mab again, but it didn't solve Note that I work with the Brazilian Portuguese release o Thunderbird.
(In reply to comment #7) > Error Happened Do you define other mail addresses start with "C"? If you have only one addr start with "C", this is possibly filtering result. (Unexpected, unwanted, invalid filtering though, because no filtering character is seen in screens shot.) And "no mail address is listed" can also be explained(filtered by "?" etc.). (In reply to comment #10) > 3. I created the files *. mab again, but it didn't solve What is your exact operations for "created the files *. mab again"? > 1. It also happens in Windows XP and 2003 > 2. In safe mode also and with clean installation of Thunderbird (with no > add-ons) Check result when really clean install & new profile. (1) Rename Thunderbird's program directory name in "Program Files". (Say Thunderbird -> Thunderbird-Backup) (2) Install Thunderbird 2.0.0.6 again (3) Create new profile via starting Tb by thunderbird.exe -P (4) Define a dumpy POP3 account, with No Global Inbox use (5) Create new address book named "Fornecedores" (6) Terminate Thunderbird (7) Copy abook-X.mab for "Fornecedores" in current profile to abook-Y.mab for "Fornecedores" in new profile (Current profile) ldap_2.servers.Fornecedores.description userset string Fornecedores ldap_2.servers.Fornecedores.filename userset string abook-X.mab (New profile) ldap_2.servers.Fornecedores.description userset string Fornecedores ldap_2.servers.Fornecedores.filename userset string abook-Y.mab (8) Restart Thunderbird with new profile (thunderbird.exe -P) Can you re-produce problem?
(In reply to comment #0) > After closing Thunderbird and reopen then it usually works. > It doesn't work to just close the address book. Another possible problem: If your address book definition is as follows, ldap_2.servers.Fornecedores.description userset string Fornecedores ldap_2.servers.Fornecedores.filename userset string abook-10.mab (Thunderbird opens abook-10.mab correctly) and if garbage of abook-1.mab exist (not used but kept in profile directory), and if add-on fails to open abook-10.mab and open abook-1.mab instead, above phenomenon can occur. (Question of (1)&(2) in comment #5 is to see whether this kind of problem can) (occur or not, but still no answer...)
*.mab files and config view
(In reply to comment #5) > > Sometimes the addresses defined in a personal catalog in the address book disappears. > Does "the address book" mean local address book? Or LDAP directory? > What do you mean by "a personal catalog"? One called "List(Mailing List)" by > Thunderbird? > Following is questions when "local address book". > What address books are defined? > What files for address books exist in your pfofile? > (1) Go Tools/Options/Advanced/General/Config Editor > Put .filename in filter field > LDAP_2.servers.XXX.filename will appear where XXX is; > default, pab, history, <added_abook_name(may be part of name)> > (2) Check Thunderbird's profile directory > Is there any yyyy.mab file other than listed at step (1)? 1. Please view attachment "*.mab and TB config view" 2. No.
(In reply to comment #11) > Do you define other mail addresses start with "C"? Yes. > What is your exact operations for "created the files *. mab again"? 1. Export address book to *.LDIF 2. Delete address book 3. Close TB 4. Delete <adress-book>.mab from profile directory 5. Open TB 6. Create address book again 7. Import address book from step 1 other way: manual fingering of the addresses. In the two cases the problem repeats. And happens when I import from outlook again. > Can you re-produce problem? Yes, in the same way.
In a very simple way it is possible to reproduce the problem: 1. Create a address book 2. Insert addresses in address book 3. Create a new message 4. Click on "Contacts" button and open the contact sidebar in the current message 5. Select you address book 6. Query in your address book 7. Close the message (it is not necessary to send) 8. Now, in Thunderbird click on button "Go to address book" 9. Click on address book created in the step 1 10. See that the query of the step 6 continues in execution. 11. To "clean" the query, I close Thunderbird. After close TB e reopen, all the addresses appear again. This way the problem happens.
(In reply to comment #12) > (In reply to comment #0) > > After closing Thunderbird and reopen then it usually works. > > It doesn't work to just close the address book. > Another possible problem: > If your address book definition is as follows, > ldap_2.servers.Fornecedores.description userset string Fornecedores > ldap_2.servers.Fornecedores.filename userset string abook-10.mab > (Thunderbird opens abook-10.mab correctly) > and if garbage of abook-1.mab exist (not used but kept in profile directory), > and if add-on fails to open abook-10.mab and open abook-1.mab instead, > above phenomenon can occur. > (Question of (1)&(2) in comment #5 is to see whether this kind of problem can) > (occur or not, but still no answer...) No garbage in profile directory. This was the first thing that we verified. In the first test we got to delete all the *. mab and to create again. But this didn't solve the problem. Finally we got to reproduce the problem step by step (Coment #16).
(In reply to comment #13) > attachment 279503 [details] > *.mab and TB config view [ Haco ] ldap_2.servers.Haco.filename = abook.mab [ Personal Address Book = Catologo Pessoal ] ldap_2.servers.servers.pab.filename = abook.mab Check all of ldap_2.servers.xxx.description / ldap_2.servers.xxx.filename again by Config Editor, and check file names of *.mab in your profile directory. Invalid?
(In reply to comment #18) > (In reply to comment #13) > > attachment 279503 [details] > > *.mab and TB config view > [ Haco ] > ldap_2.servers.Haco.filename = abook.mab > [ Personal Address Book = Catologo Pessoal ] > ldap_2.servers.servers.pab.filename = abook.mab > Check all of ldap_2.servers.xxx.description / ldap_2.servers.xxx.filename again > by Config Editor, and check file names of *.mab in your profile directory. > Invalid? No invalid. All the *.mab files have its corresponding one in the configuration.
(In reply to comment #19) > > (In reply to comment #18) > > (In reply to comment #13) > > > attachment 279503 [details] [details] > > > *.mab and TB config view > > [ Haco ] > > ldap_2.servers.Haco.filename = abook.mab > > [ Personal Address Book = Catologo Pessoal ] > > ldap_2.servers.servers.pab.filename = abook.mab > > Check all of ldap_2.servers.xxx.description / ldap_2.servers.xxx.filename again > > by Config Editor, and check file names of *.mab in your profile directory. > > Invalid? > > No invalid. All the *.mab files have its corresponding one in the > configuration. > Your problem is that ldap_2.servers.Haco.filename and ldap_2.servers.servers.pab.filename are pointing to the same .mab file. That will cause problems when you try to read/edit either Haco or your Personal Address Book. TB shouldn't have made them point to the same file, and I very much doubt that it did.
(In reply to comment #20) > (In reply to comment #19) > > > > (In reply to comment #18) > > > (In reply to comment #13) > > > > attachment 279503 [details] [details] [details] > > > > *.mab and TB config view > > > [ Haco ] > > > ldap_2.servers.Haco.filename = abook.mab > > > [ Personal Address Book = Catologo Pessoal ] > > > ldap_2.servers.servers.pab.filename = abook.mab > > > Check all of ldap_2.servers.xxx.description / ldap_2.servers.xxx.filename again > > > by Config Editor, and check file names of *.mab in your profile directory. > > > Invalid? > > > > No invalid. All the *.mab files have its corresponding one in the > > configuration. > > > Your problem is that ldap_2.servers.Haco.filename and > ldap_2.servers.servers.pab.filename are pointing to the same .mab file. That > will cause problems when you try to read/edit either Haco or your Personal > Address Book. TB shouldn't have made them point to the same file, and I very > much doubt that it did. Ok Mark. How to solve it, knowing that TB creates this automatically?
(In reply to comment #21) > Ok Mark. How to solve it, knowing that TB creates this automatically? In the configuration view (about:config shown on the last view you displayed. Right click on "ldap_2.servers.Haco.filename" and select modify. Enter a new name something like newbook.mab (something that isn't already in your profile directory). Then restart Thunderbird. That should solve the problem.
(In reply to comment #21) > > [ Haco ] > > ldap_2.servers.Haco.filename = abook.mab > > [ Personal Address Book = Catologo Pessoal ] > > ldap_2.servers.servers.pab.filename = abook.mab > TB creates this automatically? [ Haco & Personal Address Book ] Tb creates abook.mab for pab(Personal Address Book) when initial profile creation. And Tb will never use/create abook.mab for other address books once abook.mab is created, because Tb searches abook-N.mab (N=0,1,2,3,... abook.mab instead of abook-0.mab when N=0) when creation of new address book. Therefore, I guess you did one of nexts. A) You deleted abook.mab, and created Haco as first user added address book. In this case, Tb searches abook-N.mab(N=0,1,2,3,..., abook.mab when N=0), and because no abook.mab(you deleted), Tb probably creates/uses abook.mab for address book of Haco. B) You changed ldap_2.servers.Haco.filename=abook-X.mab, which is created and used by Thunderbird, to abook.mab. But "pab" also points to abook.mab (Because it's default, no entry in prefs.js. It can be seen only when Config Editor is used), so corruption may occur if both of Haco and "Personal Address Book" is opened. [ Fornecedores ] There is following entry. ldap_2.servers.Fornecedores_2.filename impab.mab C) You apparently manually changed value of this entry from abook-X.mab to impab.mab by yourself. [ Other address books ] There are following entries in prefs.js, ldap_2.servers._nonascii.filename _nonascii.mab ldap_2.servers._nonascii_1.filename _nonascii_1.mab ldap_2.servers._nonascii_2.filename _nonascii_2.mab ldap_2.servers._nonascii_3.filename _nonascii_3.mab I guess one of nexts. D) You manually changed ldap_2.servers._nonascii_N.filename=abook-X.mab to other one by yourself. E) _nonascii.mab / _nonascii_X.mab is a result of localization. To RONALD GLATZ(bug opener): Above is the reason why I said "Invalid?". Objection?
Summary: Addresses disappears in local personal address book → Addresses disappears in local personal address book (when multiple address books point to same abook.mab)
(In reply to comment #23) > [ Fornecedores ] > There is following entry. > ldap_2.servers.Fornecedores_2.filename impab.mab > C) You apparently manually changed value of this entry from abook-X.mab to > impab.mab by yourself. Actually a impab.mab is an imported address book so this case is quite valid and probably wasn't changed by Ronald.
(In reply to comment #23) > (In reply to comment #21) > > > [ Haco ] > > > ldap_2.servers.Haco.filename = abook.mab > > > [ Personal Address Book = Catologo Pessoal ] > > > ldap_2.servers.servers.pab.filename = abook.mab > > TB creates this automatically? > [ Haco & Personal Address Book ] > Tb creates abook.mab for pab(Personal Address Book) when initial profile > creation. And Tb will never use/create abook.mab for other address books once > abook.mab is created, because Tb searches abook-N.mab (N=0,1,2,3,... abook.mab > instead of abook-0.mab when N=0) when creation of new address book. > Therefore, I guess you did one of nexts. > A) You deleted abook.mab, and created Haco as first user added address book. > In this case, Tb searches abook-N.mab(N=0,1,2,3,..., abook.mab when N=0), > and because no abook.mab(you deleted), Tb probably creates/uses abook.mab > for address book of Haco. > B) You changed ldap_2.servers.Haco.filename=abook-X.mab, which is created and > used by Thunderbird, to abook.mab. > But "pab" also points to abook.mab (Because it's default, no entry in prefs.js. > It can be seen only when Config Editor is used), so corruption may occur if > both of Haco and "Personal Address Book" is opened. > [ Fornecedores ] > There is following entry. > ldap_2.servers.Fornecedores_2.filename impab.mab > C) You apparently manually changed value of this entry from abook-X.mab to > impab.mab by yourself. > [ Other address books ] > There are following entries in prefs.js, > ldap_2.servers._nonascii.filename _nonascii.mab > ldap_2.servers._nonascii_1.filename _nonascii_1.mab > ldap_2.servers._nonascii_2.filename _nonascii_2.mab > ldap_2.servers._nonascii_3.filename _nonascii_3.mab > I guess one of nexts. > D) You manually changed ldap_2.servers._nonascii_N.filename=abook-X.mab to > other one by yourself. > E) _nonascii.mab / _nonascii_X.mab is a result of localization. > To RONALD GLATZ(bug opener): > Above is the reason why I said "Invalid?". Objection? Yes, TB creates automatically abook.mab to ldap_2.servers.Haco.filename and abook.mab to ldap_2.servers.Haco.filename. We avoided to use the TB registry. Important: HACO is a LDAP directory and I undertand that TB no create a *.mab file in the user profile directory, correct? > C) You apparently manually changed value of this entry from abook-X.mab to > impab.mab by yourself. No. I don't change it. [ Other address books ] There are following entries in prefs.js, ldap_2.servers._nonascii.filename _nonascii.mab ldap_2.servers._nonascii_1.filename _nonascii_1.mab ldap_2.servers._nonascii_2.filename _nonascii_2.mab ldap_2.servers._nonascii_3.filename _nonascii_3.mab I guess one of nexts. We didn't create this. Until I was surprised when seeing that had these references in TB registry. D) You manually changed ldap_2.servers._nonascii_N.filename=abook-X.mab to other one by yourself. No change. Above is the reason why I said "Invalid?". Objection? No objection. In a first moment, I didn't notice other references in TB registry. Only those valid ones with the correspondent *.mab files. Just pointing out, we have 150 computers with TB. We don't use the default profile.
(In reply to comment #24) > (In reply to comment #23) > > [ Fornecedores ] > > There is following entry. > > ldap_2.servers.Fornecedores_2.filename impab.mab > > C) You apparently manually changed value of this entry from abook-X.mab to > > impab.mab by yourself. > Actually a impab.mab is an imported address book so this case is quite valid > and probably wasn't changed by Ronald. We didn't alter. TB generates this.
Now it doesn't exist more references for the same file. Even so the problem continues happening. After search (Query) in address book "Fornecedores" in the sidebar of the message, the contacts disappeared in the address book "Fornecedores". Note that, no more references for the same *.mab file in the registry.
(In reply to comment #26) > We didn't alter. TB generates this. Sorry for my misunderstanding. impab.mab/impab-N.mab was file name for imported address book. And _nonascii.mab/_nonascii_N.mab are possibly a result of migration from Outlook family's address book. Problem is "Haco also pointed to abook.mab" only. Tb 2.0 created abook.mab when first kick of "Address Book" after profile creation. This indicates that your "Haco->abook.mab" was generated before creation of abook.mab by Tb, if you didn't chnage file name for "Haco". Profile migration problem in the past?
To RONALD GLATZ: When and How did you create address book of Haco?
(In reply to comment #29) > To RONALD GLATZ: > When and How did you create address book of Haco? Well, after creating the user account (Tools, Account Settings, Composition & Addressing, in Addressing I create HACO LDAP Server reference).
(In reply to comment #28) > (In reply to comment #26) > > We didn't alter. TB generates this. > Sorry for my misunderstanding. > impab.mab/impab-N.mab was file name for imported address book. > And _nonascii.mab/_nonascii_N.mab are possibly a result of migration from > Outlook family's address book. > Problem is "Haco also pointed to abook.mab" only. > Tb 2.0 created abook.mab when first kick of "Address Book" after profile > creation. This indicates that your "Haco->abook.mab" was generated before > creation of abook.mab by Tb, if you didn't chnage file name for "Haco". > Profile migration problem in the past? I use profile migration only for migrate messages and addresses. With account migration we have problems.
(In reply to comment #30) > (In reply to comment #29) > > To RONALD GLATZ: > > When and How did you create address book of Haco? > Well, after creating the user account (Tools, Account Settings, Composition & > Addressing, in Addressing I create HACO LDAP Server reference). Really abook.mab is used for HACO LDAP Server when this is created before the local address book. I observed that this happens because address book was not still opened.
(In reply to comment #32) > Really abook.mab is used for HACO LDAP Server when this is created before the > local address book. I observed that this happens because address book was not > still opened. As I wrote in Comment #28, Tb 2.0 created file of abook.msb for Personal Address Book when first open of "Address Book" window. So I think there is no possibility that Tb creates/uses abook.mab for additional address book/LDAP directory when Tb 2.0 or later. When(with what verion of TB) did you create LDAP directory of "Haco"? (If you have backup of profile directory or backup of abook.mab file for "Haco", you can guess it by checking file creation date of the "abook.mab" file for address book of "Haco")
That is bad, because TB creates abook.mab only after opening AB of the first time. If I do the configuration of LDAP, and don't open the Address Book first, TB creates abook.mab to LDAP Directory HACO. After creating the user account, with version 2.0.0.6. but with 2.0.0.5 also occurs. Tks. Ronald
Complementing, I do LDAP directory config through "Account Settings" in TB.
(In reply to comment #35) > I do LDAP directory config through "Account Settings" in TB. Confirmed with Tb trunk 2007/9/06 build. (1) Create new profile, define new account (2) Account Setting, configure LDAP directory => uses abook.mab, and creates file of abook.mab (3) default of ldap_2.servers.pab.filename points to abook.mab, then "Personal Address Book" also uses abook.mab
Severity: major → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: dataloss
Component: Address Book → MailNews: Address Book
Product: Thunderbird → Core
QA Contact: address-book → addressbook
Version: 2.0 → Trunk
OS: Windows 2000 → All
Summary: Addresses disappears in local personal address book (when multiple address books point to same abook.mab) → Addresses disappears in local personal address book (Both first LDAP directory and 'Personal Address Book' points same abook.mab)
I think one of the simplest solutions is: Change seed of leaf name for LDAP directory from "abook" to different one such as "ldap".
(In reply to comment #36) > (In reply to comment #35) > > I do LDAP directory config through "Account Settings" in TB. > Confirmed with Tb trunk 2007/9/06 build. > (1) Create new profile, define new account > (2) Account Setting, configure LDAP directory > => uses abook.mab, and creates file of abook.mab > (3) default of ldap_2.servers.pab.filename points to abook.mab, > then "Personal Address Book" also uses abook.mab So what happens when you go into LDAP directory properties, select Offline and Download. Does the filename remain at abook.mab, hence overwritting the personal address book? I believe there is some code in there so that it won't do that - it'll change the name. I think we've also drifted off the main point here - as per Ronald's comment 27. Unfortunately, the only way I can think of being able to look at fixing a problem like that would be to have a copy of the .mab that exhibits the problem.
Mark, Yes, I can send the *.mab files. Should I send direct for this discussion or for some e-mail? About your comment "Does the filename remain at abook.mab, hence overwritting the personal address book?". Yes, this happens. When I create LDAP through "Account Settings", initially a file is created with size zero. The file abook.mab is really substituted after open the Address Book. Well, is really that this only happens when I use "Search For" of the "contact sidebar" in a new message. When I clean the search, close the sidebar, close the message and open the Address Book everything it returns all contacts. Now when I don't clean the search, it is probable that the problem happens, but not always.
(In reply to comment #39) > Yes, I can send the *.mab files. Should I send direct for this discussion or > for some e-mail? Sorry for the delay in replying. If you're happy to, please send the *.mab files to me direct by email (the same one that I use in bugzilla - i.e. click on my name). I still need to look at the other problems separately to know what is happening there.
My PC shutdown abnormally [power failure]. Afterwards when I started my thunderbird; all the entries in my personal address book were gone. I am not using any special extension related to address book. I spent alot of time creating my address book and now it gone.
Problem is unable to re-produce by test procedure in comment #36, when Tb Trunk (Version=3.0a1pre,BuildID=2008050803 on MS Win-XP SP2). (1) Create new profile, and start TB with the new profile (2) Account Wizard => Cancel/Exit => abook.mab is not created yet (3) Account Setting, configure LDAP directory => abbok.mab is created for "Personal Address Book", then "abook-1.mab" is created/used for the LDAP dorectory Creation of "abook.mab" for "Personal Address Book" is seen when various fisrt actions after profile creation: - Account definition - Compose a mail before account definition, and cancel of Account Wizard and display Contact Side bar at compose window So window that this bug's problem occur seems to become vary very narrow, if address book related definition is done via TB's UI. However, address book related add-on/extension still can create address book entry which may point to abook.mab when first start of Tb after profile definition.
Product: Core → MailNews Core
Flags: needinfo?(cpd)
Flags: needinfo?(cpd)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: