Opened 10 years ago

Last modified 9 years ago

#2683 assigned enhancement

If a file/category was deleted, statistics are still shown for it

Reported by: izzy Owned by: Petr Škoda
Priority: normal Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I deleted one file and a duplicate category. In the statistics, both are still shown. Could it be the downloader_downloaded table is forgotten to update then (maybe even intentionally)? This could be counted a feature (to see historical statistics even if the stuff doesn't occupy any disk space anymore); but it should at least be possible to let the user decide whether to delete associated statistics as well (e.g. by asking for this after the delete button was pressed - if it is just a checkbox, one may forget to check it, and afterwards there is no chance any more).

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Petr Škoda

Status: newassigned
Type: defectenhancement

I know about this issue and this is to be solved. This issue arised because Downloader was originally created for customer who needed some special behaving - like this. I'm planning to add some area in administration for management of statistics - like sipmlier way to reset the counters of existing files or deleting all statistics of removed files.

comment:2 Changed 10 years ago by izzy

Yepp, that would be great. You may delay this and first resolve #2681 (which is my favorite at the moment) :)

comment:3 Changed 9 years ago by izzy

Until resolved, one could use my script attached to #2680 to reset the file stats ;)

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain Petr Škoda.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.