Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing "extended address" field when importing from Google contacts #712

Closed
nicobo opened this issue Nov 11, 2018 · 9 comments
Closed

Missing "extended address" field when importing from Google contacts #712

nicobo opened this issue Nov 11, 2018 · 9 comments
Labels
bug Something isn't working needs info Not enough information provided

Comments

@nicobo
Copy link

nicobo commented Nov 11, 2018

Describe the bug

When importing contacts from Google contacts (VCF 3.0), the content of the second value of the ADR field (looks like it's called "extended address") is empty after import into NextCloud.

To Reproduce
Steps to reproduce the behavior:

  1. Go to contacts.google.com
  2. Create a contact with content in the "street address" 1st line
  3. Export as VCF
  4. Go to Nextcloud contacts
  5. Import VCF file

Sample VCF :

BEGIN:VCARD
VERSION:3.0
FN:Test Person
N:Person;Test;;;
NICKNAME:MyNameisNobody
EMAIL;TYPE=INTERNET:nobody@nowhere.com
EMAIL;TYPE=INTERNET;TYPE=HOME:nobody@anywhere.com
TEL;TYPE=HOME:0612345678
ADR;TYPE=HOME:;5 anystreet\n12345 somewhere;;;;;
END:VCARD

Expected behavior
All address fields should be imported into NC Contacts.

Actual behavior
The so-called "address" field in Google is not imported into NextCloud contacts.

Screenshots
In Google :
ingoogle

In NextCloud :
innccontacts

Server configuration

Operating system: Linux 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l

Web server: Apache (apache2handler)

Database: mysql 10.1.23

PHP version: 7.0.30-0+deb9u1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, apc, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, json, exif, mcrypt, msgpack, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, memcached, libsmbclient, Zend OPcache

Nextcloud version: 14.0.3 - 14.0.3.0

Contacts version: 2.1.6

Updated from an older Nextcloud or fresh install: updated

Signing status:

Array
(
)

List of activated apps:

Enabled:
 - accessibility: 1.0.1
 - activity: 2.7.0
 - admin_audit: 1.4.0
 - bookmarks: 0.13.1
 - bookmarks_fulltextsearch: 1.0.0
 - calendar: 1.6.3
 - cloud_federation_api: 0.0.1
 - comments: 1.4.0
 - contacts: 2.1.6
 - dav: 1.6.0
 - federatedfilesharing: 1.4.0
 - federation: 1.4.0
 - files: 1.9.0
 - files_antivirus: 1.4.1
 - files_external: 1.5.0
 - files_external_gdrive: 0.2.8
 - files_pdfviewer: 1.3.2
 - files_sharing: 1.6.2
 - files_texteditor: 2.6.0
 - files_trashbin: 1.4.1
 - files_versions: 1.7.1
 - files_videoplayer: 1.3.0
 - firstrunwizard: 2.3.0
 - gallery: 18.1.0
 - issuetemplate: 0.4.0
 - keeporsweep: 0.1.6
 - logreader: 2.0.0
 - lookup_server_connector: 1.2.0
 - news: 13.0.3
 - nextcloud_announcements: 1.3.0
 - notifications: 2.2.1
 - oauth2: 1.2.1
 - password_policy: 1.4.0
 - provisioning_api: 1.4.0
 - serverinfo: 1.4.0
 - sharebymail: 1.4.0
 - support: 1.0.0
 - survey_client: 1.2.0
 - systemtags: 1.4.0
 - theming: 1.5.0
 - twofactor_backupcodes: 1.3.1
 - updatenotification: 1.4.1
 - workflowengine: 1.4.0
Disabled:
 - deck
 - encryption
 - files_opds
 - files_reader
 - user_external
 - user_ldap

Nextcloud configuration:

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [***REMOVED SENSITIVE VALUE***
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
    "htaccess.RewriteBase": "\/",
    "dbtype": "mysql",
    "version": "14.0.3.0",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "default_language": "fr",
    "maintenance": false,
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpsecure": "tls",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "memcache.local": "\\OC\\Memcache\\Memcached",
    "memcached_servers": [
        [
            "localhost",
            11211
        ]
    ],
    "theme": "",
    "enabledPreviewProviders": [
        "OC\\Preview\\Image",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\Epub",
        "OC\\Preview\\PDF",
        "OC\\Preview\\OpenDocument",
        "OC\\Preview\\StarOffice",
        "OC\\Preview\\MSOfficeDoc",
        "OC\\Preview\\MSOffice2003",
        "OC\\Preview\\MSOffice2007",
        "OC\\Preview\\FB2"
    ],
    "loglevel": 2
}

Client configuration

Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

Operating system: Ubuntu

CardDAV-clients: N/A


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #302 (Missing Fields), #363 (Missing domain name after adding new address book in contacts), #175 (Missing UID in contact data), #155 (Missing border in Contacts), and #162 (Import contacts from command line).

@nextcloud-bot nextcloud-bot added the bug Something isn't working label Nov 11, 2018
@skjnldsv
Copy link
Member

Hello @nicobo :)
Thanks for your report!
Have you tried the latest Contacts 3.0 alpha?

@skjnldsv skjnldsv added the needs info Not enough information provided label Nov 12, 2018
@nicobo
Copy link
Author

nicobo commented Nov 12, 2018

@skjnldsv No but I will

@nicobo
Copy link
Author

nicobo commented Nov 13, 2018

It looks like with 3.0 alpha the field "Extended address" is correctly displayed and filled !

@nicobo
Copy link
Author

nicobo commented Nov 13, 2018

There are several addresses that could not be imported and the search field is missing though, but it's alpha ;-)

@skjnldsv
Copy link
Member

@nicobo yes, the beta will have plenty of fixes for that :)
Glad to hear that it's improved for the address field

@skjnldsv
Copy link
Member

skjnldsv commented Jan 5, 2019

Hello, have you tried the latest stable version? :)
Any news?

@luisjira
Copy link

I had the same problem and the latest stable version imports the addresses properly.
It is missing custom names for addresses though, but that's is for a different issue

@skjnldsv
Copy link
Member

skjnldsv commented Mar 25, 2019

@clotrock custom labels?
See #27

As there is no feedback since a while I will close this ticket. If this is still happening please feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info Not enough information provided
Projects
None yet
Development

No branches or pull requests

4 participants