Open Bug 1358625 Opened 4 years ago Updated 4 years ago

Creating a Mac contact group breaks autocomplete

Categories

(Thunderbird :: Message Compose Window, defect)

55 Branch
x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: sancus, Unassigned)

References

Details

Steps to reproduce:

1) Go to the "Contacts" OSX application, and create a contact group, and add 1 contact to it.
2) Open Thunderbird.
3) Click "Write" to open a new compose window, and try to type the name of the contact group or any of your Mac address book contacts.

Errors appear in the error console like:

Error running addressbook query '?(and(or(DisplayName,c,grou)(FirstName,c,grou)(LastName,c,grou)(NickName,c,grou)(PrimaryEmail,c,grou)(SecondEmail,c,grou)(and(IsMailList,=,TRUE)(Notes,c,grou))))': [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAbManager.getDirectory]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/components/nsAbAutoCompleteSearch.js :: _searchCards :: line 190" data: no]  nsAbAutoCompleteSearch.js:192

These errors repeat after each character is typed.
Thanks for reporting. Looks like a duplicate of bug 1356881. You're most likely describing the root cause of that bug.
See Also: → 1356881
(In reply to Jorg K (GMT+2) from comment #1)
> Thanks for reporting. Looks like a duplicate of bug 1356881. You're most
> likely describing the root cause of that bug.

I don't think so yet. This just means autocomplete will not work. But if you type the full name manually, you should be still able to send to it, but bug 1356881 claims otherwise.

The message in the console is a caught exception. Not an uncaught one that would prevent other essential code to run.

Sancus, when you have that OS X AB active in TB, but you type a contact or a mailinglist from TB native addressbook, is that one autocompleted? Or does the existence of the OS X addressbook prevent any autocompletion?
With bug 1356881 landed, is this still an issue?
You need to log in before you can comment on or make changes to this bug.