Hi,

I am using addressbook feature of SOGo Connector Thunderbird extension
17.0.5 on Thunderbird 24
I found an issue on addressbook UID. After updating contact then sync to
remote carddav server, Sogo changes uid with exact remote filename.

How to reproduce:

1. Add a remote addressbook (File->New->Remote Address Book)
2. Create a contact and sync to remote server.
Here is the HTTP session for this action.

PUT
/caldav/addressbooks/surgateoutlookdav/63a6968c-d4da-48fc-9f3e-b206d1ac2656/
*C5E75678-3470-0001-A721-9C40EC701527.vcf *HTTP/1.1
Host: caldavtqs.qaleido.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101
Thunderbird/24.1.0 Lightning
Accept: text/xml
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: utf-8,*;q=0.1
Content-Type: text/vcard; charset=utf-8
Content-Length: 176
Cookie: PHPSESSID=f99cfc3823c6f03734f2b2178599e87a
Authorization: Basic c2FsaWgueWlsbWF6OlVUcnc1c2M3UlR1
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache

BEGIN:VCARD
VERSION:3.0
PRODID:-//Inverse inc.//SOGo Connector 1.0//EN
* *
N:user;new
FN:new user
X-MOZILLA-HTML:FALSE
END:VCARD

3. Update the contact on sogo addressbook and sync again to remote server.

PUT
/caldav/addressbooks/surgateoutlookdav/63a6968c-d4da-48fc-9f3e-b206d1ac2656/
*C5E75678-3470-0001-A721-9C40EC701527.vcf *HTTP/1.1
Host: caldavtqs.qaleido.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101
Thunderbird/24.1.0 Lightning
Accept: text/xml
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: utf-8,*;q=0.1
Content-Type: text/vcard; charset=utf-8
Content-Length: 190
Cookie: PHPSESSID=f99cfc3823c6f03734f2b2178599e87a
Authorization: Basic c2FsaWgueWlsbWF6OlVUcnc1c2M3UlR1
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache

BEGIN:VCARD
VERSION:3.0
PRODID:-//Inverse inc.//SOGo Connector 1.0//EN
*UID:C5E75678-3470-0001-A721-9C40EC701527.vcf*
N:user update v1;new
FN:new user
X-MOZILLA-HTML:FALSE
END:VCARD


As you see above,
First UID:*UID:C5E75678-34A0-0001-7B8F-4A4118006000
*
Second UID*: **UID:C5E75678-3470-0001-A721-9C40EC701527.vcf


*
UID should be same for the same contact and usually UID should not have a
suffix .vcf

Do you want me to open a issue for this?


Best Regards
Ismail YENIGUL
http://www.outlookdav.com
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to