View Issue Details

IDProjectCategoryView StatusLast Update
0000762SOGoWeb Address Bookpublic2010-09-16 14:18
ReporterMarcel Assigned Towsourdeau 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.3.1 
Fixed in Version1.3.2 
Summary0000762: Picture broken on Apple vCard import
Description

Apple vCards export the picture using "PHOTO;BASE64:", which will be imported wrongly (it recognizes the presence of a picture, but apparently no picture is stored in the database, at least a request to the photo URL referenced by the frontend results in "An error occurred during object publishing; the requested object could not be found!". Changing the vCard to "PHOTO:encoding=BASE64;type=jpeg:" before import results in a working import.

Please do change the import function to accept the Apple encoding as well, as a majority of vCard photos probably follow this style ("Be liberal in what you accept, …") or then have these photos completely ignored.

Additional Information

See the sample vCard as exported by MacOSX 10.6.4 Address Book.

TagsNo tags attached.

Activities

2010-08-20 05:46

 

Test User.vcf (1,770 bytes)   
BEGIN:VCARD
VERSION:3.0
N:User;Test;;;
FN:Test User
PHOTO;BASE64:
  /9j/4AAQSkZJRgABAQAAAQABAAD/4QBARXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAA
  AqACAAQAAAABAAAAo6ADAAQAAAABAAAAowAAAAD/2wBDAAIBAQIBAQICAQICAgICAwUDAwMDAwYE
  BAMFBwYHBwcGBgYHCAsJBwgKCAYGCQ0JCgsLDAwMBwkNDg0MDgsMDAv/2wBDAQICAgMCAwUDAwUL
  CAYICwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwv/wAAR
  CACjAKMDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgED
  AwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRol
  JicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWW
  l5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3
  +Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3
  AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5
  OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaan
  qKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIR
  AxEAPwD57ooor8vPxcKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
  AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAC
  iiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKK
  KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooo
  oAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiig
  AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAC
  iiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKK
  KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooo
  oAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//2Q==
X-ABUID:4ACDBBE9-4192-43AA-B08B-CB22D6F08E49\:ABPerson
END:VCARD
Test User.vcf (1,770 bytes)   
wsourdeau

wsourdeau

2010-08-20 07:51

viewer   ~0001318

Which version of SOGo are you using? This has been working properly with the nightlies for more or less a week....

Marcel

Marcel

2010-08-20 08:49

reporter   ~0001319

I am using the 1.3.1 release (as stated in the header), assuming that at least today it was the most current version. If the nightlies include more, then please close this ticket.

wsourdeau

wsourdeau

2010-08-20 10:33

viewer   ~0001321

You need to use the nightlies for AB.app. The code is not present in 1.3.1.

Issue History

Date Modified Username Field Change
2010-08-20 05:46 Marcel New Issue
2010-08-20 05:46 Marcel File Added: Test User.vcf
2010-08-20 07:51 wsourdeau Note Added: 0001318
2010-08-20 08:49 Marcel Note Added: 0001319
2010-08-20 10:33 wsourdeau Note Added: 0001321
2010-08-20 10:35 wsourdeau Status new => resolved
2010-08-20 10:35 wsourdeau Fixed in Version => Monotone / nightly
2010-08-20 10:35 wsourdeau Resolution open => fixed
2010-08-20 10:35 wsourdeau Assigned To => wsourdeau
2010-09-16 14:18 francis Fixed in Version Monotone / nightly => 1.3.2