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

Contacts not working with NC12 #219

Closed
Dennis1993 opened this issue May 22, 2017 · 5 comments
Closed

Contacts not working with NC12 #219

Dennis1993 opened this issue May 22, 2017 · 5 comments

Comments

@Dennis1993
Copy link
Contributor

Steps to reproduce

  1. Install fresh NextCloud 12 instance
  2. activate the contacts app
  3. now you see a Spinning Wheel
  4. add a contact shows errors

Expected behaviour

Spinning wheel and app completly not working

Actual behaviour

No spinning wheel and usable app

Server configuration

Operating system:
Ubuntu 17.04

Web server:
Apache 2.4

Database:
MySQL 5.7

PHP version:
PHP 7.1

Nextcloud version: (see Nextcloud admin page)
12.0.0

Contacts version: (see Nextcloud apps page)
1.5.3

Updated from an older Nextcloud or fresh install:
fresh installation

List of activated apps:
Default apps with Calendar (1.5.3) and contacts (1.5.3)

Client configuration

Browser:
Firefox 53.0.3

Operating system:
Windows 10

Opening the app shows that:
image

If I click on "Neuer Kontakt" this error appear:
image

@kiwiufa
Copy link

kiwiufa commented May 31, 2017

I'm experiencing very similar issue with nextcloud 12.0. It seems to work for a user admin, but not for any other user (not even for users with admin privileges).
After a click on "+ New contact" I receive the following error:
TypeError: Cannot read property 'displayName' of undefined
at new Contact (contact_model.js:12)
at Object.create (contact_service.js:86)
at Object.ctrl.createContact (newContactButton_controller.js:10)
at fn (eval at compile (angular.js?v=0ccff16…-0:14817), :4:269)
at expensiveCheckFn (angular.js?v=0ccff16…-0:15906)
at callback (angular.js?v=0ccff16…-0:25885)
at Scope.$eval (angular.js?v=0ccff16…-0:17682)
at Scope.$apply (angular.js?v=0ccff16…-0:17782)
at HTMLButtonElement. (angular.js?v=0ccff16…-0:25890)
at HTMLButtonElement.dispatch (core.js?v=0ccff16…-0:3)

I have a similar setup:
Raspbian 8 Jessie
Nextcloud 12.0.0
Apache 2.4.25
PHP 7.0
MariaDB 10

Contacts app version 1.5.3

@lolihunter
Copy link

This is simple to fix.

There is no default address book created in nextcloud 12. simple use the settings below and enter a new name for a address book, example "Personal", then hit enter.

After creating one you can import contacts or create them.

@kiwiufa
Copy link

kiwiufa commented Jun 6, 2017

Thank you. The above has fixed the issue for me

@irgendwie
Copy link
Member

In the upcoming version of contacts, an address-book is automatically created in case none is existing. Normally Nextcloud/server also automatically creates one, once a new user is created.

@hognoodle
Copy link

Thanks lolihunter, that was all I needed.

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