Opened 7 years ago

Closed 7 years ago

#2057 closed defect (fixed)

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:
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no

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 (1)

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

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by jg

  • Milestone changed from Untriaged to Trial-2

comment:2 Changed 7 years ago by jg

  • Priority changed from normal to blocker

comment:3 Changed 7 years ago by tomeu

Depends on #2381.

comment:4 Changed 7 years ago by tomeu

  • Component changed from journal-activity to datastore
  • Owner changed from tomeu to bcsaller

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

comment:5 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.

comment:6 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

comment:7 Changed 7 years ago by tomeu

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 539.

Note: See TracTickets for help on using tickets.