oczpush icon indicating copy to clipboard operation
oczpush copied to clipboard

Fix fields mapping between AS and OC

Open gza opened this issue 12 years ago • 2 comments

tests from @bilbob74

OK, back to the Contactsync. All Phonenumbers, i enter to the Phone synced to OwnCloud without a type. If i enter a Mobilnumber, it sends only a Phonenumber, without Type "Mobil". Pager is send as Phonenumber, Company isnt send at all, Fax is send as pure Phonenumber (both, private and work). The same is by email. All 3 Mails are added (private, work and other on the Phone), but added in OwnCloud withoud Type. The Address is always add as Workaddress. I have added on the Phone a Private, Work and other Address. The Note and the anniversary arent added. Other not added fields: Partnerinfo, Childinfo, Office Location, Jobtitle (Position), second surname, nickname and title. The Photo looks very nice.

I dont know, if the correct infos are send and only not visible in OwnCloud, but they are visible on the Phone, where i have entered them. Next i will try the same from OwnCloud to the Phone.

Ah pardon second surname, Title and Prefix are realy there, only not visible in the default Contactinfo in OwnCLoud, so this is ok.

OwnCloud to Phone:

Send to the Phone Name Surname Companyname second name titel and suffix Birthday Mail, with correct types (maybe this was luck) Home address is send, but as Type "other"

Not send: Nickname Work Phone Page (send as Private 2), all other Phones with specified type Workaddress other address website Photo added in OwnCloud was not transfered to the Phone

thats all, what i can enter in Owncloud. There is no field for partner, Child, Office Location, Anniversary and position. Maybe this is the reason for the above, not displayed fields.

gza avatar Dec 18 '12 08:12 gza

thx to the code in #13 most of the fields are now correct. I couldnt test it completely, but if i create a new contact in RoundCube with CardDAV Plugin, the Contact is transfered to OwnCloud and from there to the Phone. But after changing some values, the fields are crippled again. I could test this at home directly with OwnCloud to Exclude problems with the CardDAV Plugin from RoundCube. What i have seen is, that some fields are not transfered at all.

ghost avatar Dec 19 '12 11:12 ghost

according to occontacts.php i have found this comment: // not supported: anniversary, assistantname, assistnamephonenumber, children, department, officelocation, radiophonenumber, spouse, rtf

Maybe, the missing fields can be added with the help of http://en.wikipedia.org/wiki/VCard

ghost avatar Dec 21 '12 10:12 ghost