Re: Importing issue within AddressManager

Patrick Cardona <[email protected]>
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <24946da10260b53f5f20ce970b512ab9@pi400>
Hi Riccardo,

On 2025-10-31 10:19:19 +0100 Riccardo Mottola <[email protected]> wrote:

(...)
> 
> Forrest Gump should now import with correct Home and Work phone number. I had 
> to re-read the RFC. It says:
> 
> These type parameter values can be  specified as a parameter list (e.g., 
> TYPE=text;TYPE=voice) or as a   value list (e.g., TYPE="text,voice").
> 
> So had to implement parsing of both versions.
> 
> 
> I also found a bug that could cause exceptions with extended (e.g. UTF-8) 
> characters. If you wish, test with your favorite files.
> 
> May you also try to export-import again your files and see how it fares now? 
> But possibly we need further tweaking there
> 

I am sorry, but I noted a seemingly regression: again, the date is bad, even from the new 4.0 vcard format: so the BDAY date became in AddressManager: '07/08/1962' from '19620709'.
Very weird...

I built again FW and app from svn 4083 revision.

<ForrestGump.vcf>

<screenshot_2025-11-06_at_19:14:18.png>

Cheers,
Patrick

-- 
Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.1) 
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64)
Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: AGNOSTEP - MUA: GNUMail (1.4.0)
ForrestGump.vcf (text/vcard, 665 B)
BEGIN:VCARD
VERSION:4.0
N:Gump;Forrest;;Mr.;
FN:Forrest Gump
ORG:Bubba Gump Shrimp Co.
TITLE:Shrimp Man
PHOTO;MEDIATYPE=image/gif:http://www.example.com/dir_photos/my_photo.gif
TEL;TYPE=work,voice;VALUE=uri:tel:+1-111-555-1212
TEL;TYPE=home,voice;VALUE=uri:tel:+1-404-555-1212
ADR;TYPE=WORK;PREF=1;LABEL="100 Waters Edge\nBaytown\n, LA 30314\nUnited States of America":;;100 Waters Edge;Baytown;LA;30314;United States of America
ADR;TYPE=HOME;LABEL="42 Plantation St.\nBaytown\, LA 30314\nUnited States of America":;;42 Plantation St.;Baytown;LA;30314;United States of America
EMAIL:[email protected]
BDAY:19620709
REV:20080424T195243Z
x-qq:21588891
END:VCARD
screenshot_2025-11-06_at_19:14:18.png (image/png, 60 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.