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
Cannot save an edited contact #3372
Comments
check the browser console log. any errors? |
read/edit mode was added with #3347 |
As soon as I can reproduce the issue (it's really random), I will coming back. So far there is only this notification after nearly every interaction (but not specific related to the problem I mentioned above):
|
Ah now, it happens again. Those are the 2 outputs via Firefox (→ console), if I try to the save-button, but it isn't clickable anymore. Note: In the first output there are a lot of sub-objects, which are cropped here, and it seems Firefox cannot save the whole structure at once. I had to open every tree-link, which is too much for this moment.
and
|
thanks |
I'm not quite sure about this and I actually doubt there is a relation, but the issue often happens to me, when I edit the phonetic* name(s) and try to save the contact unsuccessfully. *alphanumeric signs, no IPA |
The form should transition automatically into view mode after pressing save. I suspect that there is an error happening while saving. Could you please check the network tab of your dev tools while saving and look for failing requests (code 4XX or 5XX)? |
As I said, the button is inactive and not clickable sometimes, so there is also no interaction with the server (and therefore there are also no status codes I could submit). The console output:
|
Is the save button is disabled right from the start? Just to clarify: You click the edit button and then the save button is not even clickable once? |
Mostly the button is clickable to save the edited fields, but sometimes not – and then it looks like that: demo.mp4 |
Thanks for the demo. This is weird indeed. I'm still not able to reproduce it. Are you sure that there is no error (red log line) in the browser's console? Does that happen with multiple contacts or just one specific contact? If so, would it be possible to share the vcf file so that I can have a look at it? |
Hi, Error: and a lot of: |
As mentioned it's totally random and it seems, that the issue has nothing to do with a specific field or a specific entry. Yes, the error was red in the console (I guess). But with 5.3.0-rc.1 I couldn't reproduce it so far. |
I have the same issue. I can edit a contact once, but afterwards all changes will be lost, because the server refuses them. Console output: `XHRPUT `
|
Since 5.3.0-rc.1 (currently: 5.3.0-rc.3) the issue is gone, I think. I'm working often in the contacts and this error has not appeared again. Have you fixed something I missed? Probably we can close it here. |
It's back. 😒 I try to add
to the field Phonetischer Nachname and I cannot save the contact:
v5.3.1 |
@Der-K-2000: You latest comment looks unrelated to the initial issue here to me. Anyhow, in case it helps or anybody has a suggestion for me: I was pointed here after running into the 'Unable to update contact' message and posing on the help forums: https://help.nextcloud.com/t/unable-to-update-contact-s/167946 I provide some additional informartion there that might be useful to debug this issue. |
Nope. |
Maybe I misunderstood than. Originally, use wrote
I cannot reproduce that. However, now you said you receive an error message
which is what I also see for some (but not all!) of my contacts. |
Following up on the error message that I got in the log, I checked for tempfiles via find /tmp -maxdepth 1 -user nextcloud -exec ls -lhtrA "{}" \+ and found a bunch of them, some dating back over a year. All of them were owned by my I deleted all of those files via find /tmp -maxdepth 1 -user nextcloud -exec sudo rm "{}" \+ but I can still reproduced the
error. Also, after doing so, no new file owned by the -- edit: Eventually, new files appeared but making them group-writable did not change the issue. |
Describe the bug
With the new Contact-Version there is a huge problem, that appears, when I was editing an already existing contact and then want to save it via the save button (which is obviously new, because before an edited field was automatically saved).
The button is sometimes not clickable anymore.
But I don't see any logic behind this issue. The field and the input doesn't matter. Even after a page refresh.
Steps to reproduce
Expected behavior
button is clickable to save the edited fields and after that
Actual behavior
The button is not active anymore. The (graphical) mouseover hover works, the cursor is the pointer, but nothing happens, after the button is clicked.
Contact version
5.3.0-beta.1
Operating system
No response
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database
MySQL
Additional info
No response
The text was updated successfully, but these errors were encountered: