Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#444 closed defect (fixed)

Erase activity wiped out WIP code changes!

Reported by: wadeb Owned by: marcopg
Priority: High Milestone:
Component: Sugar on a Stick (SoaS) Version: Git as of bugdate
Severity: Major Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

I was working on a clone of the Log activity stored in ~/log. It was symlinked over to ~/Activities using 'setup.py dev'.

Somehow, two instances of Log ended up in the activity ring. One was all the way at the top, the other all the way at the bottom.

Thinking that it would remove the bad symlink and reset whatever internal state was causing problems, I chose Erase from the context menu.

I was then surprised to find the ~/log directory empty when returning to the Terminal, including all of my unpushed work!!

The correct solution would be to have the Erase Activity feature detect symlinks and simply remove them, rather than recursively deleting their files.

Change History (3)

comment:1 Changed 15 years ago by tomeu

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

Ouch, sorry about that. Have pushed a fix for this in http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/commits/d22b5243

comment:2 Changed 14 years ago by sascha_silbe

  • Component changed from sugar to SoaS
  • Distribution/OS changed from SoaS to Unspecified

Bulk change distribution=SoaS -> component=SoaS

comment:3 Changed 11 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

Note: See TracTickets for help on using tickets.