-
Notifications
You must be signed in to change notification settings - Fork 173
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
Autosave updating fields after DB submit #978
Comments
GitMate.io thinks possibly related issues are #930 (Input unfocused due to autosave), #392 (Option for exporting adressbooks has vanished), and #574 (Import of vcf file causes lots of errors). |
Checked app latest version based on above bot response. I have Nextcloud 15.0.4 but below that under "Overview" is blank. It doesn't give any option to update to 15.0.5, nor does it say it's the latest version. Is this a bug too? |
Updated manually to 15.0.5. No change to the issue. |
Hello :) |
@skjnldsv do you have an ETA? It's crippled one of my main functions as it stands. |
@a1pilot sure, I'm waiting to see if the translators on transifex finished translating the new string I added this week into the most used languages :) |
@skjnldsv great stuff, thanks. |
@skjnldsv This is back in 3.1.3. |
Describe the bug
When creating a new contact in the app on Nextcloud, it autosaves very frequently as you type. As I start typing a name, say "Alice Appleby", it autosaves part way through and loses the last few characters.
What this looks like is I type "Alice Appleby", but it will autosave halfway at "Alice App" and then reset the field to "Alice App", losing everything I typed after that point.
It's worse if there's more text, e.g. "Alice Appleby Smith", because the moment it autosaves and resets it goes back to "Alice App" and then continues typing, so you end up with "Alice Appmith".
I can cope with it on the occasional new contact, but to try and add several it is really frustrating. I've lost several phone numbers because I didn't see this and now I have the start and end only.
To Reproduce
Steps to reproduce the behavior:
As above. Try to create a new contact and as you type monitor for autosave jumping around the text fields.
Expected behavior
Contact should be created, with autosave being a passive event - it should autosave whatever the contents are at the time of actioning, but not feedback to the fields.
Actual behavior
Autosave is submitting to the database and then updating the fields on the page with whatever was just submitted. Wiping out anything not submitted but accepted into the fields, post-save event.
Server configuration
issuetemplate not available for 15...
Operating system: Debian Buster
Web server: Apache
Database: MariaDB
PHP version: 7.3
Nextcloud version: 15.0.4
Contacts version: 3.0.3
Updated from an older Nextcloud or fresh install: Clean install on a clean install of Debian.
Signing status: /index.php/settings/integrity/failed doesn't exist
List of activated apps:
Enabled:
Nextcloud configuration:
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"REMOVED SENSITIVE VALUE"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "15.0.4.0",
"overwrite.cli.url": "REMOVED SENSITIVE VALUE",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"maintenance": false
}
}
Client configuration
Browser: Chrome / Firefox / Edge
Operating system: Windows 7 / 10
CardDAV-clients: None at present.
Logs
Web server error log
The only error in the log that isn't someone calling for a non-existent page is:
[Thu Mar 07 07:34:20.271141 2019] [php7:warn] [pid 16331] [client 199.253.103.242:12512] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /../../../cloud/3rdparty/sabre/vobject/lib/Component/VCard.php on line 514
Nextcloud log
data/nextcloud.log
No nextcloud errors.
Browser log
No browser console errors.
The text was updated successfully, but these errors were encountered: