Re: Importing issue within AddressManager
Riccardo Mottola <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.general |
|---|---|
| Organization | GNUstep |
| Message-ID | <864416c739ca3229d64675bac2918005@moria> |
Hi, On 2025-10-23 09:04:16 +0000 Patrick Cardona <[email protected]> wrote: > While importing from a vcard file, I noted the Birthday dates were > modified > as (day - 1). My vcard was previously converted from the Birthday > (old bsd > cli program) format and it had no errors, while birthday dates were > badly > imported in AddressManager. As written yesterday, I hope the birthday issue was fixed. Did you notice any other issues in email, phones, addresses or Notes? I did some tests with an old file and a more recent VCF file, both generated by Addresses on Mac. So not a broad format test. I noticed the following: First, Phone/Email/Addresses were not classified correctly: they resulted always of type "Work". While there is a lot of code there to handle that, I believe it could never have worked - at least on the Apple format which is coherent with vCard specifications. Types were not correctly extracted and Matched. I extensively rewrote parsing. Could you test on your file? You should see Phones assined to Home/Work/Mobile, Address and Email to Home/Work. Of course only if your orifinal file contains specifications to e.g. TEL or EMAIL. I left in some debug logs to spit them out so you can see Second, some characters were escaped badly. I rewrote that code totally. It work sin my case but needs to be checked. It works for my test files very well, including images. Riccardo -- Sent with GNUMail running on GNUstep on GNU/Linux Intel(R) Xeon(R) CPU X5650