https://bugs.documentfoundation.org/show_bug.cgi?id=126961

--- Comment #56 from Julien Nabet <serval2...@yahoo.fr> ---
(In reply to Stephan Bergmann from comment #55)
>>...
> 
> so apparently the call of
> 
> >         allRecords = ABCopyArrayOfAllPeople(addressBook);
> 
> in MacabRecords::initialize
> (connectivity/source/drivers/macab/MacabRecords.cxx) returned null, which
> the code apparently does not expect.
I had seen this but what I don't understand when reading
https://developer.apple.com/documentation/addressbook/1430121-abcopyarrayofallpeople,
is even if it doesn't find any address book, ABCopyArrayOfAllPeople is expected
to return an empty array, so CFArrayGetCount could return 0.

> 
> I have no idea about the code in question or the relevant macOS APIs, but I
> notice that
> <https://developer.apple.com/documentation/addressbook?language=objc> states
> "Important:  Do not use the AddressBook framework in macOS 10.11 and later. 
> Use the APIs defined in the Contacts framework instead."
Argh, it's the main problem since it's not a 20 lines max patch which will fix
this but a big chunk of code. Considering it's on Base part and more
specifically on MacOs, unless you feel like working on it, there's slight
chance it'll be implemented.
So after last versions of Thunderbird which need Sqlite implementation (that we
don't have) to use addressbook instead of Mork, now we've got this, bad days
for those who want to use address book with LO, hope there are not too much and
find some workaround :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to