Bug 113587 - Single Document version reappears after being deleted
Summary: Single Document version reappears after being deleted
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.3.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-02 08:00 UTC by Ulrich Windl
Modified: 2018-11-27 15:20 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2017-11-02 08:00:05 UTC
Description:
I have a Calc (ods) document with one version. When I delete that version and save immediately after that, the version is still there when the file is loaded again. When I delete the version and "Save Copy..." the version is gone.

Steps to Reproduce:
1. Select File->Versions
2. Delete the only version
3. Save file
4. Close file (^W)

Actual Results:  
After loading the file, the version is still there

Expected Results:
The version deleted should have gone


Reproducible: Always


User Profile Reset: No



Additional Info:
When saving a copy, the deleted version is not present in the copy.


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Buovjaga 2017-11-11 15:47:34 UTC
Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 Ulrich Windl 2017-11-13 07:54:00 UTC
Hard to reproduce (the version that was deleted had been created a few years ago with an older version of the software), but I've noticed this asymmetry:
When you create a version, the document is saved immediately (automatically), but when your delete a version, the change notifier is not set, so when closing the document, nothing is saved (i.e.: there is no prompt for saving).
Comment 3 Xisco Faulí 2018-11-27 12:57:39 UTC
Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 4 Ulrich Windl 2018-11-27 13:15:20 UTC
Could not reproduce with Writer 6.0.6 on Windows 10.
Comment 5 Buovjaga 2018-11-27 15:20:05 UTC
Great, let's close as WFM