-
Notifications
You must be signed in to change notification settings - Fork 178
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
fail to save new contact #208
Comments
Thanks for the report! Since you can add contacts via 3rd party clients, we need your browser log (javascript errors) to find the problem. Do you by any chance use 'mod_security'? There was a bug in an external library we are using, which will be fixed once #197 is merged and a new version of contacts is released. |
Hi, here is the log info from the browser: Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src https:// 'unsafe-eval'”). Source: ondrop attribute on INPUT element. contacts |
The same happens with me under Nextcloud 12. What I did remark is that when I change only one field then go to another tab (Files, Calendar etc) and then go back it will be saved but if I change more than one then those will be forgotten.
Edit: Hmm maybe that was the fix but for now it does not happen again. Inside my apache configs (conf-available/security.conf) I changed the following lines:
And now DAVdroid and the webinterface seem to work again. Edit: Oh well it still happens but way less frequently as before so it is kinda useable. |
I face the same issue. NextCloud 12 Whenever I create new contacts using the Browser/Nextcloud interface it will save all the informations, BUT only temporarily. If I click on the calendar and then switch back to "contacts" all the created contacts show up as "New Contact" without any data in it. Only facing this problem via browser. doenst matter which browser. i tried opera, chrome, firefox and Inet explorer - without any plugins |
I have the same issue in NC 12.
|
Any idea here @nextcloud/contacts @nextcloud/javascript? :) |
any progress on this? i REALLY prefer using the browser interface to create contacts as i HATE typing on the small psuedo keyboard on the mobile/tablet device. |
Have one of you tried the current master build? |
sorry i can't try the current build. my install is from fedora rpm packages. i'm still waiting for them to release v11 packages which are held up by dependencies. |
Don't worry. This is related to a server-side issue. |
Steps to reproduce
Expected behaviour
it should save new contact
Actual behaviour
it does not save new contact.
i have to add new contacts to my phone or some other card-dav client.
Server configuration
Operating system: Linux markpreston.me 4.10.12-200.fc25.x86_64 #1 SMP Sat Apr 22 03:03:34 UTC 2017 x86_64
Web server: Apache (apache2handler)
Database: mysql 10.1.21
PHP version: 7.0.18
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, bcmath, bz2, calendar, ctype, curl, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imap, intl, json, ldap, exif, mcrypt, mysqlnd, PDO, pgsql, Phar, posix, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlwriter, xsl, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, wddx, xmlreader, apcu, geoip, horde_lz4, lzf, memcache, OAuth, propro, raphf, smbclient, ssh2, zip, http, libsmbclient
Nextcloud version: 10.0.4 (stable) - 9.1.4.2
Updated from an older Nextcloud/ownCloud or fresh install: upgraded from ownCloud
Where did you install Nextcloud from: fedora official rpm
Signing status:
Signing status
List of activated apps:
App list
``` Enabled: - activity: 2.3.2 - bookmarks: 0.9.0 - calendar: 1.5.2 - comments: 1.0.0 - contacts: 1.5.3 - dav: 1.0.1 - documents: 0.13.1 - federatedfilesharing: 1.0.1 - files: 1.5.2 - files_antivirus: 1.0.0.0 - files_external: 1.0.2 - files_pdfviewer: 0.8.1 - files_sharing: 1.0.0 - files_texteditor: 2.1 - files_trashbin: 1.0.0 - files_versions: 1.3.0 - files_videoplayer: 0.9.8 - firstrunwizard: 1.1 - galleryplus: 15.1.1 - issuetemplate: 0.2.1 - notifications: 0.3.0 - password_policy: 1.0.0 - serverinfo: 1.1.1 - systemtags: 1.0.2 - tasks: 0.9.5 - templateeditor: 0.1 - theming: 1.0.1 - workflowengine: 1.0.1Disabled:
{
"installed": true,
"dbtype": "mysql",
"dbname": "nextclouddb",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"dbhost": "127.0.0.1",
"dbtableprefix": "",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"forcessl": true,
"blacklisted_files": [
".htaccess"
],
"overwritehost": "",
"overwriteprotocol": "",
"overwritewebroot": "/nextcloud",
"overwritecondaddr": "",
"overwrite.cli.url": "/nextcloud",
"theme": "",
"default_language": "en",
"3rdpartyroot": "",
"3rdpartyurl": "",
"defaultapp": "files",
"knowledgebaseenabled": true,
"appstoreenabled": true,
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtpdebug": false,
"mail_smtpmode": "sendmail",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "465",
"mail_smtptimeout": 10,
"mail_smtpauthtype": "LOGIN",
"memcached_server": [
"localhost",
11211
],
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto",
"allow_user_to_change_display_name": true,
"appcodechecker": false,
"updatechecker": true,
"has_internet_connection": true,
"check_for_working_webdav": true,
"check_for_working_htaccess": false,
"asset-pipeline.enabled": false,
"assetdirectory": "/var/lib/nextcloud",
"log_type": "owncloud",
"logfile": "/var/log/nextCloud/nextcloud.log",
"loglevel": 0,
"logdateformat": "F d, Y H:i:s",
"logtimezone": "America/New_York",
"log_query": false,
"log_authfailip": false,
"log_rotate_size": 10485760,
"remember_login_cookie_lifetime": 1296000,
"session_lifetime": 86400,
"custom_csp_policy": "default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *",
"xframe_restriction": true,
"datadirectory": "/var/lib/nextcloud/data",
"maintenance": false,
"apps_paths": [
{
"path": "/usr/share/nextcloud/apps",
"url": "/apps",
"writable": false
},
{
"path": "/var/lib/nextcloud/apps",
"url": "/apps-appstore",
"writable": true
}
],
"customclient_desktop": "",
"customclient_android": "",
"customclient_ios": "",
"enable_previews": true,
"preview_max_scale_factor": 10,
"preview_libreoffice_path": "/usr/bin/libreoffice",
"preview_office_cl_parameters": "",
"enable_avatars": true,
"openssl": [],
"singleuser": false,
"instanceid": "oc9cc38f24fd",
"version": "9.1.4.2",
"trusted_domains": [
"markpreston.me",
"www.markpreston.me"
],
"mail_from_address": "nextcloud",
"secret": "REMOVED SENSITIVE VALUE",
"forceSSLforSubdomains": true,
"htaccess.RewriteBase": "/nextcloud",
"mail_smtpauth": 1,
"appstore.experimental.enabled": true
}
Are you using external storage, if yes which one: Array
(
[0] => \OC\Files\Storage\Local
)
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Operating system:
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
Browser log
The text was updated successfully, but these errors were encountered: