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

Markdown editor does not save (Dataloss!) #6947

Closed
dragotin opened this issue May 11, 2022 · 1 comment · Fixed by #6952
Closed

Markdown editor does not save (Dataloss!) #6947

dragotin opened this issue May 11, 2022 · 1 comment · Fixed by #6952
Assignees
Labels
Browser:Firefox Category:Defect Existing functionality is not working as expected Priority:p1-urgent Consider a hotfix release with only that fix Type:Bug Something isn't working

Comments

@dragotin
Copy link
Contributor

On ownCloud Web with ownCloud10 (cloud.o.c): I edited a file in the markdown editor. After quite some editing, I accidentially hit the "back" button on the browser (through the keyboard, typing too fast). I had not saved manually before.

A dialog appeared that I have unsaved changes, and if I would like to save (which is good). I clicked Yes, and the markdown editor closed and I landed in the file list again, as it was expected with the back command.

Opening the document from the file list again in the markdown editor revealed that no changes were saved in the file 😿

@dragotin dragotin added Type:Bug Something isn't working Browser:Firefox Category:Defect Existing functionality is not working as expected labels May 11, 2022
@tbsbdr tbsbdr added the Priority:p1-urgent Consider a hotfix release with only that fix label May 11, 2022
@AlexAndBear AlexAndBear self-assigned this May 12, 2022
@dragotin
Copy link
Contributor Author

dragotin commented May 12, 2022

Debugging revealed that the save also does not happen in the text editor, with this error:

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\PreconditionFailed</s:exception>
  <s:message>An If-Match header was specified, but none of the specified ETags matched.</s:message>
  <s:header>If-Match</s:header>
</d:error>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Browser:Firefox Category:Defect Existing functionality is not working as expected Priority:p1-urgent Consider a hotfix release with only that fix Type:Bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants