Uploaded image for project: 'WebTop'
  1. WebTop
  2. WT-1015

Mobile number becomes work number during CardDAV sync

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Done
    • Contacts
    • None
    • 5.10.2
    • release
    • 5.10.5
    • wt-5.13.1
    • 0440

    Description

      Steps to reproduce:

      • create a new contact on iPhone and enter a number in the Mobile field
      • save -> Synchronize with CardDAV

      Expected behaviour:

      • the number is synchronized on the server in the Mobile field and remains unchanged on the device

      Actual Behaviour:

      • the number is synchronized on the server in the "Office" field and on the device it changes from Mobile to Office

      Server-side synchronization writes this to the log:

      2021-07-05 10:43:25 [DEBUG] c.s.webtop.contacts.rest.v1.CardDav - class CardNew {
          href: E18DBFFB-F4F2-4BC7-AA69-BA3E3F3CFFEA.vcf
          vcard: BEGIN:VCARD
          VERSION:3.0
          PRODID:-//Apple Inc.//iOS 14.6//EN
          N:Gasparini;Luca;;;
          FN:Luca Gasparini
          TEL;type=CELL;type=VOICE;type=pref:348 111111
          REV:2021-07-05T08:43:24Z
          UID:E4D0FC93-32CB-43F3-A82E-31F2A704696F
          END:VCARD}
      
      

      On the db the number is saved in "woirk_telephone":

      webtop5=# select display_name,work_telephone,work_mobile,home_telephone from contacts.contacts where category_id=13;
        display_name  | work_telephone | work_mobile | home_telephone
      ----------------+----------------+-------------+----------------
       Luca Gasparini | 348 111111     |             |
      (1 row)
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              luca.gasparini Luca Gasparini
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package