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

Phone number type not shown when custom #290

Closed
avuton opened this issue Aug 15, 2017 · 5 comments
Closed

Phone number type not shown when custom #290

avuton opened this issue Aug 15, 2017 · 5 comments
Milestone

Comments

@avuton
Copy link

avuton commented Aug 15, 2017

Steps to reproduce

  1. Import VCard with custom phone type

Expected behaviour

Display custom phone type, or default to a a phone type.

Actual behaviour

Blank phone type is displayed.
screenshot from 2017-08-15 11-00-47

General server configuration

Operating system: Linux anpmech.com 4.11.0-1-amd64 #1 SMP Debian 4.11.6-1 (2017-06-19) x86_64

Web server: Apache/2.4.27 (Debian) (apache2handler)

Database: mysql 10.1.24

PHP version: 7.0.22-2

PHP-modules loaded
 - Core
 - date
 - libxml
 - openssl
 - pcre
 - zlib
 - filter
 - hash
 - Reflection
 - SPL
 - session
 - standard
 - apache2handler
 - mysqlnd
 - PDO
 - xml
 - bz2
 - calendar
 - ctype
 - curl
 - dom
 - mbstring
 - fileinfo
 - ftp
 - gd
 - gettext
 - iconv
 - json
 - exif
 - mcrypt
 - mysqli
 - pdo_mysql
 - Phar
 - posix
 - readline
 - shmop
 - SimpleXML
 - sockets
 - sysvmsg
 - sysvsem
 - sysvshm
 - tokenizer
 - wddx
 - xmlreader
 - xmlwriter
 - xsl
 - zip
 - Zend OPcache

Nextcloud configuration

Nextcloud version: 12.0.2 - 12.0.2.0

Updated from an older Nextcloud/ownCloud or fresh install: YOUR ANSWER HERE

Where did you install Nextcloud from: YOUR ANSWER HERE

Are you using external storage, if yes which one: Array
(
[0] => \OC\Files\Storage\Local
[1] => \OCA\Files_External\Lib\Storage\FTP
[2] => \OC\Files\Storage\DAV
[3] => \OCA\Files_External\Lib\Storage\OwnCloud
[4] => \OCA\Files_External\Lib\Storage\SFTP
[5] => \OCA\Files_External\Lib\Storage\AmazonS3
[6] => \OCA\Files_External\Lib\Storage\Dropbox
[7] => \OCA\Files_External\Lib\Storage\Google
[8] => \OCA\Files_External\Lib\Storage\Swift
[9] => \OCA\Files_External\Lib\Storage\SFTP
)

Are you using encryption: no

Are you using an external user-backend, if yes which one: YOUR ANSWER HERE (LDAP/ActiveDirectory/Webdav/...)

Signing status
[]
Enabled apps
 - activity: 2.5.2
 - bruteforcesettings: 1.0.2
 - calendar: 1.5.3
 - comments: 1.2.0
 - contacts: 1.5.3
 - dav: 1.3.0
 - external: 2.0.3
 - federatedfilesharing: 1.2.0
 - federation: 1.2.0
 - files: 1.7.2
 - files_external: 1.3.0
 - files_pdfviewer: 1.1.1
 - files_sharing: 1.4.0
 - files_texteditor: 2.4.1
 - files_trashbin: 1.2.0
 - files_versions: 1.5.0
 - files_videoplayer: 1.1.0
 - firstrunwizard: 2.1
 - gallery: 17.0.0
 - issuetemplate: 0.2.2
 - logreader: 2.0.0
 - lookup_server_connector: 1.0.0
 - nextcloud_announcements: 1.1
 - notes: 2.3.1
 - notifications: 2.0.0
 - oauth2: 1.0.5
 - password_policy: 1.2.2
 - provisioning_api: 1.2.0
 - serverinfo: 1.2.0
 - sharebymail: 1.2.0
 - survey_client: 1.0.0
 - systemtags: 1.2.0
 - theming: 1.3.0
 - twofactor_backupcodes: 1.1.1
 - updatenotification: 1.2.0
 - workflowengine: 1.2.0
Disabled apps
 - admin_audit
 - audioplayer
 - encryption
 - user_external
 - user_ldap
Content of config/config.php
{
    "instanceid": "ocgdgj675i9h",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "anpmech.com"
    ],
    "datadirectory": "\/mnt\/linear\/Nextcloud\/data",
    "overwrite.cli.url": "https:\/\/anpmech.com\/nextcloud",
    "dbtype": "mysql",
    "version": "12.0.2.0",
    "dbname": "nextcloud",
    "dbhost": "localhost",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "mail_from_address": "avuton",
    "mail_smtpmode": "php",
    "mail_smtpauthtype": "LOGIN",
    "mail_domain": "gmail.com",
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

Client configuration

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

Operating system: YOUR ANSWER HERE

Logs

Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@christianhauff
Copy link

Same here! I am migrating my phone's calender and addressbook to NC and this issue is the only reason why I don't want to fully migrate my contacts right now. Would be great if the contacts app allowed to manage custom number types/descriptions

@klawdhfzasjhaa
Copy link

Hello. I tested some scenarios..
I cannot test from the webapp, because of another bug (#433), but when I create a contact on my phone (Android 7.1.2 from LineageOS) and export it via vCard, I get the following result *.vCards:
Local Contact (custom type WITHOUT spaces):
BEGIN:VCARD VERSION:2.1 N:;JohnDoe;;; FN:JohnDoe TEL;X-MyTestType:955-856-55 END:VCARD

Local Contact (custom type WITH spaces):
BEGIN:VCARD VERSION:2.1 N:;JohnDoe;;; FN:JohnDoe TEL;:955-856-55 END:VCARD

DAVDroid Contact:
BEGIN:VCARD VERSION:3.0 PRODID:-//Sabre//Sabre VObject 4.1.2//EN UID:f4038352-1250-42a7-9d88-1df94b3680c4 N:;JohnDoe;;; FN:JohnDoe DAVDROID1.TEL;TYPE=x-test_type:65135566 DAVDROID1.X-ABLABEL:Test Type REV:20180104T222000Z END:VCARD
screenshot_20180104_235825

  1. Looks like the Android / LineageOS contacts app cannot handle custom phone types with spaces in it.
  2. NC contacts apps add the label of the custom type (correct), but also the technical name "x-test_type" (incorrect).

Can you check, if you have spaces in the custom name and maybe share an anonymized snippet of your vCard export containing the custom type?

I'm not a NC dev, but maybe this helps to understand the issue.

@skjnldsv
Copy link
Member

Fixed now with 3.0.0

@poiNt3D
Copy link

poiNt3D commented Mar 27, 2019

Hello.
I have Nextcloud 15.0.5.
Contacts with custom phone types are sync'ing fine via DavX, but website app Contacts is not showing these phone numbers.

@skjnldsv
Copy link
Member

@poiNt3D please open your own issue and provide the desired informations (vcard with obfuscated data, logs... etc) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants