DesktopEditors icon indicating copy to clipboard operation
DesktopEditors copied to clipboard

[Bug Report] OnlyOffice appears to be unable to overwrite files on my OneDrive

Open alba4k opened this issue 1 year ago • 6 comments

This issue is unique.

  • [X] I have used the search tool and did not find an issue describing my bug.

Operating System

Linux (AUR Package)

Version information

8.0.0.99

Expected Behavior

When saving a file (in my case, /home/alba4k/Documenti/OneDrive/FILE.xlxs) I would expect all changes to be written.

Actual Behavior

The file remains unchanged and opening it again will show how it looked before editing it (the last time I opened it). Using "Save As" and overwriting it also has the same result, but Save As and creating a new file will work perfectly.

The file is not protected in any way, as using cp [saved as another file].xlxs FILE.xlxs will save the changes to the original. I have tried creating a completely new file, writing test in A1, reopening it ("test" is still there), editing "test" to "test1", saving, reopening: still shows "test".

What's weird is that files that are not on that onedrive drive (mounted by onedriver) work just fine.

Reproduction Steps

  1. Create a file (in my case, using the spreadsheets editor, the same happens using e.g. the document editor) and write something in it.
  2. Save it to the onedriver-mounted drive
  3. edit whatever you wrote in the file
  4. press save, or save as > overwrite that same file
  5. close the file, open it again
  6. it won't have what was previously changed in it

Additional information

Don't mind asking for anything that might be helpful :)

alba4k avatar Feb 17 '24 19:02 alba4k

@alba4k Hi Unfortunely, i can't reproduce your issue on my Ubuntu 22.04. You can attach short video with problem?

https://github.com/ONLYOFFICE/DesktopEditors/assets/46962983/ae2a9087-1f3f-4ac0-b1d7-0adf918cc5bc

XDmitryK avatar Feb 20 '24 08:02 XDmitryK

@XDmitryK thanks for the quick response

What would you recommend doing to gather some extra data and hopefully help debug this?

alba4k avatar Feb 20 '24 17:02 alba4k

Not OP but I've been having the same issue for the past couple of OnlyOffice versions. Prior to that, overwriting files from my OneDrive worked fine.

However, as you can see from the attached video, in the most recent version (8.0.0.99), creating and saving an original file works fine, but no subsequent edits are saved, either when clicking Save or Save As.

I can also confirm that neither WPS Office or Libre Office suffer from the same issue.

I'm really hoping this is fixable because it makes OnlyOffice pretty much useless for me at the moment, as I am constantly working on files that are synced to my OneDrive folder.

onlyoffice-onedrive-bug.webm

Packages: both AUR and Flatpak System: EndeavourOS (Arch) OneDrive synced via /jstaf/onedriver

kabe-inc avatar Feb 22 '24 06:02 kabe-inc

Update: The problem still exists in v 8.0.1, FYI

kabe-inc avatar Feb 27 '24 05:02 kabe-inc

@kabe-inc Hi Thank you for the video. I confirm this is bug, issue #66776

XDmitryK avatar Mar 07 '24 10:03 XDmitryK

This doesn't affect every file, by the way

immagine

The files I marked didn't save the work I did yesterday (rip), the others did. I just wish I remembered about this issue before closing onlyoffice assuming that my work had been saved 😅

alba4k avatar Apr 07 '24 10:04 alba4k

closing as this is a duplicate od

https://github.com/ONLYOFFICE/DesktopEditors/issues/1436

alba4k avatar Aug 14 '24 19:08 alba4k