Open
Description
Steps to reproduce
- make an empty file outside ownCloud
touch xyz.txt
- upload to ownCloud
- edit the file (e.g. with files_texteditor) and put some text in it
text 1111
- edit the file and remove all the text (empty file)
- edit the file (e.g. with files_texteditor) and put some text in it
text 2222
- look in file details, versions
Expected behaviour
3 old versions are seen - the file as it was at steps 2, 3 and 4
Actual behaviour
1 old version is seen - the version containing ```text 1111``
Server configuration
Development on core master
When a file is empty, then added to, the empty version is not saved.
This would impact on accurate recovery possibilities. e.g. if some software cares about a file that is used as a marker/lock indicator and can be empty or have something in it. "time machine" style of recovery should put versions back as they were, including if the file was empty in its old "incarnation".