Bug 160484

Summary: LibreOffice can not store modified document, when file is on network drive
Product: LibreOffice Reporter: rgloor <bugzilla>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: medium    
Version: 7.0 all versions   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: QA:needsComment
Crash report or crash signature: Regression By:

Description rgloor 2024-04-02 15:04:05 UTC
Description:
When a file is opened from a network storage, modifications can not be stored.
Error Message (in German):
Fehler
Fehler beim Speichern des Dokuments NAME.EXT:
Fehler beim Erstellen des Objekts.
Sicherungskopie konnte nicht erstellt werden.

You can store the LO-file under a new name (like: NAME_.EXT) for one time.
Then the problem is the same again.

If you change the path of the Backup File (Sicherungskopie) in the settings, you again can store it one time.
NB: It doesn't matter if the Backup File (Sicherungskopie) is set to the lokal path (/home/USERNAME/.config/libreoffice/4/user/backup) or set to store at the location of the original file.

It has nothing to do with rights on the network storage, hence you can always write a new file.
No other program has the same problem.

If one switches off the option "always generate backup file" (Sicherungskopie immer erstellen), the problem disappears.

The problem occurs with all LibreOffice Modules. (Tested with: Writer, Calc, Impress)

I can't recall when it happened first. 
But this problem is not new, and goes back several releases. (around a year or so?).

Steps to Reproduce:
1. Open a file from a network drive
2. Modify it 
3. Try to store on the network drive (under the same file name)

Actual Results:
Error message instead of document saved.


Expected Results:
Error message. Can't save the file (under the same name).


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Expected: File can be saved after modification.

Running openSUSE LEAP 15.5 fully patched

Below says SpreadsheetDocument (CALC), but happens also with WRITER and IMPRESS (presumably with all LO-Modules).

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; 
OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-CH (de_CH.UTF-8); UI: de-DE
Calc: threaded
Comment 1 rgloor 2024-04-02 15:10:41 UTC
Typo:
=> Should read:

Actual Result:
Error message instead of document saved. Can't save the file (under the same name).


Expected Result:
After Modification: Document should be able to be saved under the present name.