After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700892 - File roller has incorrect behavior when using "save as" leading to data loss
File roller has incorrect behavior when using "save as" leading to data loss
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2013-05-23 14:19 UTC by Ewan.LEBIDEAU-CANEVET
Modified: 2013-06-04 08:17 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8



Description Ewan.LEBIDEAU-CANEVET 2013-05-23 14:19:16 UTC
User can notice that if using the "save as" functionality for file roller, in some circumstances he can lose his archive and cannot recover.

Steps :

1. Open file roller and nautilus
2. drag and drop from nautilus to file roller some pictures or files
3. Select create archive on the next dialogue
4. Name it Pictures.tar.xz or Pictures.tar.gz
5. Wait for the files to be added
6. Erase the pictures now since they are in the archive but don't close file roller
7. Click on the arrow on the top right ans select "Save as..."
8. Same tittle should be displayed "Pictures". click "Save"
9. "A file named Pictures.tar.xz" already exists. Replace" should appear
10. Click "Replace"
11. Observe the error
12. Observe that the archive is gone
13. Observe you just lost your photos

Expected outcome

If only created successful the new archive the old one will be auto deleted

Actual outcome

Old archive is deleted and new one fails to save thus losing your files
Comment 1 Paolo Bacchilega 2013-05-27 19:55:52 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 2 Philippe "RzR" Coval 2013-06-03 14:30:39 UTC
Please confirm that 

747aaef2a504a830c663065d02ff4c5a8204b358

should be merged into a gnome-3-8 branch too ?


https://git.gnome.org/browse/file-roller/log/?h=gnome-3-8

BTW, I see it has d7afdcbc3c88beadc1fd574c50737fd8ecf392ac is already merged
Comment 3 Paolo Bacchilega 2013-06-04 08:17:24 UTC
It is now in gnome-3-8 as well.