A BUGNOTE has been added to this bug.
=======================================================================
http://131.152.105.154/mantis/view_bug_page.php?f_id=0000404
=======================================================================
Reporter: mcm81
Handler: zecke
=======================================================================
Project: OPIE
Bug ID: 0000404
Category: PIM/PIM apps
Reproducibility: always
Severity: feature
Priority: normal
Status: assigned
=======================================================================
Date Submitted: 11-03-02 16:18 CET
Last Modified: 11-03-02 17:02 CET
=======================================================================
Summary: incorrect importing of contacts in addressbook BIS
Description:
sorry but i think you did't correct fully the bug, 'couse it seems that
you only asign Uid nuber = 1 to all new imported contacts: in this way all
new imported contact will have Uid=1 and when you go viewing addressbook
there will be a contact repeated a lot off time that masqurade the other
imported contacts (i resolve it hand-editing addressbook.xml and writing a
casual Uid number to all new contact imported).
=======================================================================
-----------------------------------------------------------------------
zecke - 11-03-02 16:29 CET
-----------------------------------------------------------------------
please take a look at OPimRecord::setUid. If you setUid(1) an new UID will
be generated!
So when you receive a vCard we try to parse it. If it is 0 ( default for
empty ) we will setUid(1) it to generate a new uid.
Checking the sanity of the data may not really belong into the backend. I
maybe wrong.
Will ask eilers...
-----------------------------------------------------------------------
zecke - 11-03-02 16:30 CET
-----------------------------------------------------------------------
rm addressbook.xml
and reimport your data and tell me how it does behave with the setUid(1)
patch applied
-----------------------------------------------------------------------
mattzz - 11-03-02 16:47 CET
-----------------------------------------------------------------------
(without the patch applied)
I beamed over all the addresses from my palm V and had the same problems.
deleting the Uid-entries helped.
~/Applications/addressbook # cat addressbook.xml | sed 's/Uid="0"//' >
addressbook.xml.new
edited on: 2002-11-03 16:47
-----------------------------------------------------------------------
zecke - 11-03-02 17:02 CET
-----------------------------------------------------------------------
irobex_palm3
receive a vCard from the PalmV and please either upload it or send it to me
mattzz. Besides that the Issue now known.
OContatc::readVCalendar does not look for the UniqueStrProp in the vCard at
all...
but nowadays we generate a new uid for vCard entries....
Received on Sun Nov 03 16:34:06 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:46:26 EDT