Opened 10 years ago

Last modified 2 years ago

#2706 new bug

[Execute] Potential issue when removing torrent with data

Reported by: Calum Owned by:
Priority: minor Milestone: 2.1.1
Component: Plugin Version: develop
Keywords: Cc:

Description

A user pointed out that the behaviour of execute with delete event and data removed is unknown. It likely is an issue as the old path will be passed to scripts so probably the best action is to send an empty path. The only issue I can foresee is determining whether data was also removed just from the emitted event so may only be fixable in develop.

Change History (5)

comment:1 by HellFire, 7 years ago

This is definitely an issue. I'm using the plugin to move data to a separate folder (for ease of organization) when removing a torrent and choosing remove & delete results in some data being moved, rather than none.

I don't think sending an empty path for remove & delete is the best option, depending on what users are using the plugin for, they may still want the path sent. It could specify the action (remove / delete) as an additional argument or environment variable.

comment:2 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

comment:3 by Calum, 5 years ago

Milestone: 2.0.02.1.x

Ticket retargeted after milestone closed

comment:4 by Calum, 3 years ago

Milestone: 2.1.x2.1.0

Milestone renamed

comment:5 by Calum, 2 years ago

Milestone: 2.1.02.1.1

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.