Re: Importing issue within AddressManager

Riccardo Mottola <[email protected]>
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <[email protected]>
Hi Patrick.

Patrick Cardona wrote:
>
> So I guess something bad happens:
> - When the database is saved.
> - When we import directly into the database.
>
> - The import process seems good only when we import from a vcard 
> (vcard and then using FW addressView?) and again things become bad 
> while saving (using FW Addresses?) 

I checked the code and database save is done using a direct dump of the 
dictionary, not much that can go wrong.

Birthdays are working for me. Using my existing database (I use one, 
update it on changes, my current "address book");

1) import
- With the help of Lars he sent me a VCF exported from his mac
- the VCF was imported into Address Manager quite well, including 
images, phones, addresses, emails with Phone and Home distinction, added 
notes
- on application exit I let the AddressManager save the DB
- I reopen, the data is there, Birthday is correct compared also to the 
VCF file

2) direct creation
- created John Doe with DOB 26/07/1965 (safe date and order, cannot be 
misinterpreted month-day)
- quit & save
- reopen check John, the date is correct!

3) export John suing "export"
check generated card has:
BDAY:1965-07-26

which is correct

4) delete John & reimport
Date of Birth is still correct.


This, plus previous tests of past days, make me belive things are quite 
stable. I am running and have installed SVN development version of 
course, please be sure you do too.
Please try John Doe! (Attached)

Riccardo
johndoe.vcf (text/vcard, 132 B)
BEGIN:VCARD
VERSION:3.0
X-GENERATOR:Addresses for GNUstep pre-1.0
N:Doe;John;;;
BDAY:1965-07-26
UID:7415
NOTE:Test person
END:VCARD
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.