Ticket #2057 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Erase option in Journal does not remove files from a USB stick

Reported by: jfuhrer Owned by: tomeu
Priority: blocker Milestone: Trial-2
Component: sugar-datastore Version:
Keywords: Cc:
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

Description

OFW: Q2C18 Build: 494

When viewing the contents of a USB stick in Journal, selecting the "Erase" button on an entry (file) is supposed to delete the file. It doesn't - clicking the Erase button doesn't do anything.

Attachments

Journal.log Download (1.5 KB) - added by marco 7 years ago.
Trace with latest git ds

Change History

Changed 7 years ago by jg

  • milestone changed from Untriaged to Trial-2

Changed 7 years ago by jg

  • priority changed from normal to blocker

Changed 7 years ago by tomeu

Depends on #2381.

Changed 7 years ago by tomeu

  • owner changed from tomeu to bcsaller
  • component changed from journal-activity to datastore

Got this in the logs but the file is still present in the usb stick.

2007-07-25 16:05:51,441 DEBUG: deleted 6cdc97c2-1edd-47cb-ba80-d507fbc8c0df
2007-07-25 16:05:51,444 INFO: deleted content 6cdc97c2-1edd-47cb-ba80-d507fbc8c0df

Changed 7 years ago by jfuhrer

On build 535, if you click erase on a file the first time, it will return you to the Journal's entry list without deleting the file. If you return to that file and click erase again, it will return you to the Journal's entry list and the file will be actually deleted this time.

Changed 7 years ago by jfuhrer

Actually, while the journal entry for the item you try to delete is removed after the second attempt, the file is not actually deleted. If you ls you'll find that it's still there, and if you remove and re-insert the USB stick the, the journal entry will re-appear.

Changed 7 years ago by marco

Trace with latest git ds

Changed 7 years ago by tomeu

  • status changed from new to closed
  • resolution set to fixed

Fixed in 539.

Note: See TracTickets for help on using tickets.