Opened 3 years ago

Last modified 6 days ago

#2706 new bug

[Execute] Potential issue when removing torrent with data

Reported by: Cas Owned by:
Priority: minor Milestone: 2.0
Component: Plugin Version: develop (git)
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 (1)

comment:1 Changed 6 days ago by HellFire

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.

Note: See TracTickets for help on using tickets.