Hello,

After migrating all my contacts to Sogo I'm running into the issue that changing middle names is not handled properly.

When changing the middle name of a contact on an Android smartphone using Activesync the middle name field is send to Sogo:

Jan 07 19:50:37 sogod [12325]: <0x0x557e5373bbf0[SOGoActiveSyncDispatcher]> EAS - request for device androidc1529267344: <?xml version="1.0"?> <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/";>
<Sync xmlns="AirSync:">
 <Collections>
  <Collection>
   <SyncKey>1578357780</SyncKey>
   <CollectionId>vcard%2Fpersonal</CollectionId>
   <DeletesAsMoves/>
   <GetChanges>1</GetChanges>
   <WindowSize>10</WindowSize>
   <Options>
    <BodyPreference xmlns="AirSyncBase:">
     <Type>1</Type>
     <TruncationSize>200000</TruncationSize>
    </BodyPreference>
   </Options>
   <Commands>
    <Change>
     <ServerId>18E9-5E13A680-5-69F5A700.vcf</ServerId>
     <ApplicationData>
      <Department xmlns="Contacts:"/>
      <FileAs xmlns="Contacts:">Eagle, Test Van</FileAs>
      <FirstName xmlns="Contacts:">Test</FirstName>
<MiddleName xmlns="Contacts:">middle</MiddleName>
      <LastName xmlns="Contacts:">Eagle</LastName>
      <JobTitle xmlns="Contacts:"/>
      <IMAddress xmlns="Contacts2:"/>
      <NickName xmlns="Contacts2:"/>
      <Picture xmlns="Contacts:"/>
      <Body xmlns="AirSyncBase:">
       <Type>1</Type>
       <Data/>
      </Body>
     </ApplicationData>
    </Change>
   </Commands>
  </Collection>
 </Collections>
</Sync>

In the raw vcard the displayname (FN) is changed but the middle name (3rd value of N) is unchanged.

BEGIN:VCARD
UID:18E9-5E13A680-5-69F5A700.vcf
VERSION:3.0
CLASS:PUBLIC
PROFILE:VCARD
FN:Eagle\, Test middle
N:Eagle;Test;van de
END:VCARD

When changing the middle name of a contact using Thunderbird with CardDAV the middle name is changed properly:

BEGIN:VCARD
UID:18E9-5E13A680-5-69F5A700.vcf
VERSION:3.0
CLASS:PUBLIC
PROFILE:VCARD
FN:Test middle Eagle
N:Eagle;Test;middle
BDAY:2020-01-01
END:VCARD

I'm also surprised that the webinterface of Sogo does not provide a middle name field for contacts at all during editing, so I am wondering if middle names are not supported at all (Sounds unlikely to me) or if I'm running into a bug that I should file, or do I have misconfigured something?

Searching the mailing lists and bug-tracker does not provide me any applicable results so any advise is appreciated.

Best regards,

Joop Martens

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to