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

Unable to create new user since v3.0.5 #995

Closed
gnouts opened this issue Mar 13, 2019 · 18 comments
Closed

Unable to create new user since v3.0.5 #995

gnouts opened this issue Mar 13, 2019 · 18 comments
Labels
3. to review Waiting for reviews bug Something isn't working high High priority
Milestone

Comments

@gnouts
Copy link

gnouts commented Mar 13, 2019

Describe the bug

In the contact app v3.0.5, clicking an "create contact" doesn't do anything

To Reproduce
Steps to reproduce the behavior:

  1. Update the app to v3.0.5
  2. Go to Contact app, in web interface
  3. Click the new contact in top left corner
  4. Nothing happen

Expected behavior
An empty contact form should appear.

Server configuration

Operating system: Debian9

Web server: Nginx

Database: MariaDB

PHP version: 7

Nextcloud version: 15.0.4

Contacts version: 3.0.5

Signing status: : Integrity check disabled (using Yunohost package)

List of activated apps:

Nextcloud configuration:

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

Client configuration

Browser: : Firefox Quantum ESR

Operating system: Windows 10

CardDAV-clients: : nextcloud web interface

Logs

Web server error log

Insert your webserver log here

Nextcloud log

data/nextcloud.log

Insert your Nextcloud log here

Browser log

Console log

ReferenceError
​
columnNumber: 32859
​
fileName: "https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17"
​
lineNumber: 177

message: "oca_contacts is not defined"

stack: "e/<@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:177:32859
_@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:161552
b/o._invoke</<@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:161342
T/</t[e]@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:161728
hr@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:177:29085
a@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:177:29292
mr/</<@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:177:29353
O@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:155885
mr/<@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:177:29233
[155]/vr<.methods.newContact</<@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:177:33791
Ut@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:11231
n@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:12948
Ut@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:11231
[0]/</</t.prototype.$emit@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:33898
click@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:469:487
Ut@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:11231
n@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:12948
xr/o._wrapper@https://cloud.domain.tld/apps/contacts/js/contacts.js?v=635169df-17:7:44114
"
__proto__: Object { stack: "", … }
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #29 (Can't create new contacts on master), #189 (Group broken when creating new contact), #217 (Create new Contact: Cannot read property 'displayName' of undefined), #117 (Groups failure detection triggered when creating a new contact), and #777 (Can't Create New Contact after clicking on group in left column).

@nextcloud-bot nextcloud-bot added the bug Something isn't working label Mar 13, 2019
@gnouts
Copy link
Author

gnouts commented Mar 13, 2019

Issue was confirmed by multiple users using Yunohost as packager. I don't have resources to setup a plain nextcloud install. If anyone can confirm this to exclude (or not) the Yunohost factor :)

@edgarm1964
Copy link

I have a plain nextcloud 15.0.5 installation and have this issue with the contacts app too.

@skjnldsv
Copy link
Member

skjnldsv commented Mar 14, 2019

Can you try this release please? :)
contacts.tar.gz

@edgarm1964
Copy link

Nothing is shown and in the console log I see this:
ReferenceError: Can't find variable: oca_contacts
(anonymous function) main.js:61

@skjnldsv
Copy link
Member

Please, try again with this one: contacts.tar.gz

And make sure you cleared your cache before :)

@edgarm1964
Copy link

edgarm1964 commented Mar 14, 2019

I've emptied my caches and tried the file attached above; it made no difference. Same message.

If needed, I can set up a test account...

@skjnldsv
Copy link
Member

@edgarm1964 please do then :)
Can you send me a message at skjnldsv@protonmail.com?

@edgarm1964
Copy link

I've sent you an email.

@skjnldsv
Copy link
Member

skjnldsv commented Mar 15, 2019

@edgarm1964, thanks!
Everything is working on your instance so far and I'm able to create contacts. 🤷‍♀️
Tested on various browsers, including firefox esr like you.

Please clear your cache and try again? You can also try to clear your nextcloud cache.

  1. clear your browser's cache
  2. run an occ maintenance:repair on your server

Thanks 😉

@edgarm1964
Copy link

edgarm1964 commented Mar 15, 2019

You're welcome.

Using firefox , contacts works. But using Safari (v11.1.2 and v12.0.1) on macOS High SIerra 10.13.6 it doesn't. I still get the same error message.

@skjnldsv
Copy link
Member

@edgarm1964 Okay, I'll try it with safari next week then! :)
Don't delete the test account!

@edgarm1964
Copy link

:-D

@jpu4
Copy link

jpu4 commented Mar 16, 2019

same issue on vivaldi 2.3.1440.61 x64

@Flole998
Copy link

Same issue here on Vivaldi 2.3.1440.61 x64

@cooling75
Copy link

Hi, same issue hier on Safari Version 12.0.3 (14606.4.5)
Working with Chrome Version 73.0.3683.86
on macOS Mojave 10.14.3

@skjnldsv
Copy link
Member

@gnouts @edgarm1964 @jpu4 @Flole998 @cooling75 please check and test this contacts release and see if it works:
contacts.tar.gz

@skjnldsv skjnldsv added 3. to review Waiting for reviews high High priority labels Mar 22, 2019
@skjnldsv skjnldsv added this to the next milestone Mar 22, 2019
@edgarm1964
Copy link

Yes! Works. Good job!

@skjnldsv skjnldsv mentioned this issue Mar 24, 2019
@skjnldsv skjnldsv modified the milestones: next, 3.1.0 Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working high High priority
Projects
None yet
Development

No branches or pull requests

7 participants