{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/contacts/issues/199","repository_url":"https://api.github.com/repos/owncloud/contacts","labels_url":"https://api.github.com/repos/owncloud/contacts/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/contacts/issues/199/comments","events_url":"https://api.github.com/repos/owncloud/contacts/issues/199/events","html_url":"https://github.com/owncloud/contacts/issues/199","id":140392483,"number":199,"title":"Owncloud Upgrade 8.2.2 to 9.0 - Major Contact Issues","user":{"login":"fracture-point","id":410707,"avatar_url":"https://avatars.githubusercontent.com/u/410707?v=3","gravatar_id":"","url":"https://api.github.com/users/fracture-point","html_url":"https://github.com/fracture-point","followers_url":"https://api.github.com/users/fracture-point/followers","following_url":"https://api.github.com/users/fracture-point/following{/other_user}","gists_url":"https://api.github.com/users/fracture-point/gists{/gist_id}","starred_url":"https://api.github.com/users/fracture-point/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fracture-point/subscriptions","organizations_url":"https://api.github.com/users/fracture-point/orgs","repos_url":"https://api.github.com/users/fracture-point/repos","events_url":"https://api.github.com/users/fracture-point/events{/privacy}","received_events_url":"https://api.github.com/users/fracture-point/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/contacts/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/contacts/milestones/4","html_url":"https://github.com/owncloud/contacts/milestones/1.1-next","labels_url":"https://api.github.com/repos/owncloud/contacts/milestones/4/labels","id":1633500,"number":4,"title":"1.1-next","description":"","creator":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":10,"state":"open","created_at":"2016-03-09T11:31:38Z","updated_at":"2016-03-14T14:36:20Z","due_on":"2016-03-22T23:00:00Z","closed_at":null},"comments":19,"created_at":"2016-03-12T15:22:57Z","updated_at":"2016-03-14T14:40:14Z","closed_at":null,"body":"<!--\r\nPlease report only issues corresponding to the contacts app for ownCloud 9 or later.\r\nThe old contacts app, which is compatible with ownCloud 8.2 or earlier, is discontinued!\r\n\r\nMigration and CardDAV issues belong in the core repo!\r\nhttps://github.com/owncloud/core/issues\r\n-->\r\n### Steps to reproduce\r\n9.0 Upgrade from 8.2.2:\r\n1. apt-get update, apt-get upgrade, apt-get dist-upgrade\r\n2. sudo -u www-data php occ upgrade\r\n3. sudo -u www-data php occ maintenance:mode --off\r\n4. log in as administrator and re-enable contact and calendar apps.\r\n5. log in as normal user, navigate to contacts, and gasp at new issues.\r\n\r\n### Expected behaviour\r\nData should be identical to values in 8.2.2\r\n### Actual behaviour\r\nLots of data issues, and functionality missing or not working properly:\r\n\r\n**Phone Type Changes (8.2.2 value --> 9.0 value):**\r\nUK (Orange) --> [blank]\r\nGoogle Biz # --> [blank]\r\nT-mobile --> PREF,T-Mobile\r\nOutgoing Voip --> [blank]\r\n_Note that this does not appear to be an issue with special characters.  For instance the value \"Canada (Telus)\" appears identically after the upgrade_\r\n\r\n**Email Type Changes (8.2.2 value --> 9.0 value):**\r\nHome --> INTERNET,HOME\r\n\r\n**Address Type Changes (8.2.2 value --> 9.0 value):**\r\nHome --> HOME,pref\r\n\r\n**General Issues:**\r\n\r\n1. Contacts take minutes to appear (434 contacts in 16 groups, takes 7 seconds in v8.2.2)\r\n2. No button to create a new Contact Group\r\n3. Contact groups do not show up at all until I click on an individual contact\r\n4. Starred contacts group does not exist anymore\r\n5. \"Not Grouped\" group does not exist anymore\r\n6. No longer able to add custom phone types (dropdown list with no \"other\" option available in the type dropdowns).\r\n7. At least one contact that had a picture pre-upgrade now shows a ? in the picture box.\r\n\r\nLet me know if you want me to open individual tickets for these or if you need additional information.  With the volume of issues I've experienced I cannot upgrade to 9.0.\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 14.04\r\n**Web server:**\r\nApache 2.4.7\r\n**Database:**\r\nMariaDB 10.0.24\r\n**PHP version:**\r\nphp 5.5.9\r\n**ownCloud version:** (see ownCloud admin page)\r\n9.0\r\n**Contacts version:** (see ownCloud apps page)\r\n1.0.0\r\n**Updated from an older ownCloud or fresh install:**\r\nUpdated from 8.2.2\r\n**Signing status (ownCloud 9.0 and above):**\r\n\r\nNo errors have been found.\r\n\r\n**List of activated apps:**\r\n\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - calendar: 1.0\r\n  - comments: 0.2\r\n  - contacts: 1.0.0.0\r\n  - dav: 0.1.5\r\n  - federatedfilesharing: 0.1.0\r\n  - federation: 0.0.4\r\n  - files: 1.4.4\r\n  - files_pdfviewer: 0.8\r\n  - files_sharing: 0.9.1\r\n  - files_texteditor: 2.1\r\n  - files_trashbin: 0.8.0\r\n  - files_versions: 1.2.0\r\n  - files_videoplayer: 0.9.8\r\n  - gallery: 14.5.0\r\n  - notifications: 0.2.3\r\n  - provisioning_api: 0.4.1\r\n  - systemtags: 0.2\r\n  - updatenotification: 0.1.0\r\nDisabled:\r\n  - bookmarks\r\n  - encryption\r\n  - external\r\n  - files_external\r\n  - firstrunwizard\r\n  - notes\r\n  - tasks\r\n  - templateeditor\r\n  - user_external\r\n  - user_ldap\r\n\r\n**The content of config/config.php:**\r\n\r\n{\r\n    \"system\": {\r\n        \"instanceid\": \"ocerysw1jz4b\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"***REMOVED SENSITIVE VALUE***\"\r\n        ],\r\n        \"datadirectory\": \"\\/data\\/owncloud\",\r\n        \"overwrite.cli.url\": \"https:\\/\\/***REMOVED SENSITIVE VALUE***\\/owncloud\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"9.0.0.19\",\r\n        \"dbname\": \"owncloud\",\r\n        \"dbhost\": \"localhost\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"logtimezone\": \"UTC\",\r\n        \"installed\": true,\r\n        \"mail_smtpmode\": \"php\",\r\n        \"mail_from_address\": \"OwnCloud\",\r\n        \"mail_domain\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"appstore.experimental.enabled\": true,\r\n        \"memcache.local\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n        \"filelocking.enabled\": \"true\",\r\n        \"memcache.locking\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n        \"redis\": {\r\n            \"host\": \"localhost\",\r\n            \"port\": 6379,\r\n            \"timeout\": 0\r\n        },\r\n        \"trashbin_retention_obligation\": \"30\",\r\n        \"maintenance\": false,\r\n        \"loglevel\": 2,\r\n        \"updatechecker\": false\r\n    },\r\n    \"apps\": {\r\n        \"activity\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"2.2.1\",\r\n            \"types\": \"filesystem\"\r\n        },\r\n        \"backgroundjob\": {\r\n            \"lastjob\": \"2\"\r\n        },\r\n        \"bookmarks\": {\r\n            \"enabled\": \"no\",\r\n            \"installed_version\": \"0.6\",\r\n            \"ocsid\": \"168710\",\r\n            \"types\": \"\"\r\n        },\r\n        \"calendar\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"1.0\",\r\n            \"ocsid\": \"168707\",\r\n            \"types\": \"\"\r\n        },\r\n        \"comments\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.2\",\r\n            \"types\": \"logging\"\r\n        },\r\n        \"contacts\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"1.0.0.0\",\r\n            \"ocsid\": \"168708\",\r\n            \"types\": \"\"\r\n        },\r\n        \"core\": {\r\n            \"backgroundjobs_mode\": \"cron\",\r\n            \"installedat\": \"1449253052.1423\",\r\n            \"lastcron\": \"1457794802\",\r\n            \"lastupdateResult\": \"{\\\"version\\\":{},\\\"versionstring\\\":{},\\\"url\\\":{},\\\"web\\\":{}}\",\r\n            \"lastupdatedat\": \"0\",\r\n            \"oc.integritycheck.checker\": \"[]\",\r\n            \"public_caldav\": \"calendar\\/share.php\",\r\n            \"public_calendar\": \"calendar\\/share.php\",\r\n            \"public_files\": \"files_sharing\\/public.php\",\r\n            \"public_webdav\": \"dav\\/appinfo\\/v1\\/publicwebdav.php\",\r\n            \"remote_caldav\": \"dav\\/appinfo\\/v1\\/caldav.php\",\r\n            \"remote_calendar\": \"dav\\/appinfo\\/v1\\/caldav.php\",\r\n            \"remote_carddav\": \"dav\\/appinfo\\/v1\\/carddav.php\",\r\n            \"remote_contacts\": \"dav\\/appinfo\\/v1\\/carddav.php\",\r\n            \"remote_dav\": \"dav\\/appinfo\\/v2\\/remote.php\",\r\n            \"remote_files\": \"dav\\/appinfo\\/v1\\/webdav.php\",\r\n            \"remote_webdav\": \"dav\\/appinfo\\/v1\\/webdav.php\",\r\n            \"repairlegacystoragesdone\": \"yes\"\r\n        },\r\n        \"dav\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.1.5\",\r\n            \"types\": \"filesystem\"\r\n        },\r\n        \"fbsync\": {\r\n            \"enabled\": \"no\",\r\n            \"installed_version\": \"1.6.0\",\r\n            \"ocsid\": \"174311\",\r\n            \"types\": \"\"\r\n        },\r\n        \"federatedfilesharing\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.1.0\",\r\n            \"types\": \"\"\r\n        },\r\n        \"federation\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.0.4\",\r\n            \"types\": \"authentication\"\r\n        },\r\n        \"files\": {\r\n            \"cronjob_scan_files\": \"500\",\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"1.4.4\",\r\n            \"types\": \"filesystem\"\r\n        },\r\n        \"files_pdfviewer\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.8\",\r\n            \"ocsid\": \"166049\",\r\n            \"types\": \"\"\r\n        },\r\n        \"files_sharing\": {\r\n            \"6\": \"1452026815.8172\",\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.9.1\",\r\n            \"types\": \"filesystem\"\r\n        },\r\n        \"files_texteditor\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"2.1\",\r\n            \"ocsid\": \"166051\",\r\n            \"types\": \"\"\r\n        },\r\n        \"files_trashbin\": {\r\n            \"cronjob_user_offset\": \"1000\",\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.8.0\",\r\n            \"types\": \"filesystem\"\r\n        },\r\n        \"files_versions\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"1.2.0\",\r\n            \"types\": \"filesystem\"\r\n        },\r\n        \"files_videoplayer\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.9.8\",\r\n            \"types\": \"\"\r\n        },\r\n        \"files_videoviewer\": {\r\n            \"enabled\": \"no\",\r\n            \"installed_version\": \"0.1.3\",\r\n            \"ocsid\": \"166054\",\r\n            \"types\": \"\"\r\n        },\r\n        \"firstrunwizard\": {\r\n            \"enabled\": \"no\",\r\n            \"installed_version\": \"1.1\",\r\n            \"ocsid\": \"166055\",\r\n            \"types\": \"\"\r\n        },\r\n        \"gallery\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"14.5.0\",\r\n            \"types\": \"\"\r\n        },\r\n        \"notes\": {\r\n            \"enabled\": \"no\",\r\n            \"installed_version\": \"2.0.0\",\r\n            \"ocsid\": \"174554\",\r\n            \"types\": \"\"\r\n        },\r\n        \"notifications\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.2.3\",\r\n            \"types\": \"logging\"\r\n        },\r\n        \"provisioning_api\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.4.1\",\r\n            \"types\": \"prevent_group_restriction\"\r\n        },\r\n        \"systemtags\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.2\",\r\n            \"types\": \"logging\"\r\n        },\r\n        \"tasks\": {\r\n            \"enabled\": \"no\",\r\n            \"installed_version\": \"0.8.1\",\r\n            \"ocsid\": \"164356\",\r\n            \"types\": \"\"\r\n        },\r\n        \"templateeditor\": {\r\n            \"enabled\": \"no\",\r\n            \"installed_version\": \"0.1\",\r\n            \"types\": \"\"\r\n        },\r\n        \"updatenotification\": {\r\n            \"enabled\": \"yes\",\r\n            \"installed_version\": \"0.1.0\",\r\n            \"types\": \"\"\r\n        },\r\n        \"updater\": {\r\n            \"enabled\": \"no\",\r\n            \"installed_version\": \"0.6\",\r\n            \"types\": \"\"\r\n        }\r\n    }\r\n}\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nNO\r\n**Are you using encryption:** yes/no\r\nNO\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nNO\r\n\r\n### Client configuration\r\n**Browser:** Safari Version 9.0.3\r\n\r\n**Operating system:** Ubuntu 14.04\r\n**CardDAV-clients:** Haven't tested yet due to massive UI issues\r\n\r\n### Logs\r\n#### Web server error log\r\nNothing related to OC\r\n\r\n#### ownCloud log (data/owncloud.log)\r\nGiven the amount of sensitive (and unrelated Calendar data), I search for rows with contact references:\r\n\r\n{\"reqId\":\"JDCv1gT8BnS9aWqc9Te3\",\"remoteAddr\":\"MASKED\",\"app\":\"PHP\",\"message\":\"Undefined index: addressBookId at \\/var\\/www\\/owncloud\\/apps\\/contacts\\/lib\\/hooks.php#109\",\"level\":3,\"time\":\"2016-02-10T17:17:37+00:00\"}\r\n\r\n\r\n\r\n#### Browser log\r\nN/A\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/contacts/issues/comments/196341549","html_url":"https://github.com/owncloud/contacts/issues/199#issuecomment-196341549","issue_url":"https://api.github.com/repos/owncloud/contacts/issues/199","id":196341549,"user":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T14:40:13Z","updated_at":"2016-03-14T14:40:13Z","body":"sorry for the German localization :wink:  "}}