Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1149 closed enhancement (fixed)

Mark related items for removal when "parent" item is marked for removal

Reported by: Jari Häkkinen Owned by: Martin Svensson
Priority: minor Milestone: BASE 2.9
Component: web Version:
Keywords: Cc:

Description

When a transformation is deleted in the analysis view the created files and directories are not marked for deletion. One would expect these to be deleted similarly to existing removal of a whole sub-tree with a simple select and delete action.

Change History (7)

comment:1 by Nicklas Nordborg, 15 years ago

Milestone: BASE 2.8.4BASE 3.0

No, anything created by a transformation is softly linked using AnyToAny links. The links can actually lead to any kind of item, not just files and directories. It is not possible to automatically delete the items that are linked in this way.

comment:2 by Jari Häkkinen, 15 years ago

Could this be a part of explaining ticket:1147?

comment:3 by Nicklas Nordborg, 15 years ago

Milestone: BASE 3.0BASE 2.9
Priority: majorminor
Summary: Deleting a transformation that has generated files and directories leaves these directoriesMark related items for removal when "parent" item is marked for removal
Type: defectenhancement

I think I was wrong about this one. I was thinking about the actual deletion of the items from the trashcan, but the ticket obviously was about marking the items for removal. The RemovableUtil class already has functionality were this could go into. I guess the same problems applies to files attached to bioassay sets and extra values (see #1050).

comment:4 by Martin Svensson, 15 years ago

Owner: changed from everyone to Martin Svensson
Status: newassigned

comment:5 by Martin Svensson, 15 years ago

(In [4612]) References #1149 Items that are linked to from a transformation are now removed(to trash) when the transformation is removed.

comment:6 by Martin Svensson, 15 years ago

Resolution: fixed
Status: assignedclosed

(In [4617]) Fixes #1149 Mark related items for removal when "parent" item is marked for removal.

comment:7 by Nicklas Nordborg, 15 years ago

(In [4639]) References #1149: Mark related items for removal when "parent" item is marked for removal

Removed unused import.

Note: See TracTickets for help on using tickets.