core icon indicating copy to clipboard operation
core copied to clipboard

v4.5.0: data loss when dragging out of a zip file

Open msrex opened this issue 14 years ago • 6 comments

If you drag a file out of a zip, a pop-up box shows up telling you that the file could not be moved. But it is still deleted in the zip-file, while not being stored anywhere. -> DATA LOSS!

This is not 100% reproducible - I had one try where things worked as expected. I had 5 more tries where the file was deleted though.

Reproduction:

  1. create a zip file on your desktop
  2. upload to owncloud with archive support enabled
  3. enter archive
  4. drag file out of archive into parent folder -> warning, and file deleted

msrex avatar Oct 23 '12 15:10 msrex

tested successfully in 4.5.6, has anyone fixed it?

davidak avatar Jan 31 '13 11:01 davidak

ok, tested more intensivly:

  1. zip file with 2 text files on desktop
  2. drop it in browser
  3. enter archive
  4. drag file out of archive into parent folder
  5. file is correctly copyed, can be opened from web and client synced pc, zip can be opened on web, but on synced pc its broken!
  6. if i download that zip from web, it can be extracted correctly with that one file in it.

davidak avatar Jan 31 '13 12:01 davidak

We discussed a bit about this and decided it’s probably better to not ship the »Archive support« because the arising issues are way more of a disadvantage than the fringe feature of being able to browse zip archives just like normal folders. Maybe it’s also good to not even offer the app for installation unless it really works without these big issues.

cc @karlitschek

jancborchardt avatar Mar 01 '13 10:03 jancborchardt

there could be a feature to extract an archive, so you can work with the data online.

davidak avatar Mar 01 '13 12:03 davidak

Maybe it’s also good to not even offer the app for installation unless it really works without these big issues

:+1: for shipping less functionality but working one

DeepDiver1975 avatar Mar 01 '13 14:03 DeepDiver1975

O.K. I removed files_archive from the oC 5 build until we found fixes for all the bugs it triggers.

karlitschek avatar Mar 03 '13 09:03 karlitschek