Modify

Opened 7 years ago

Last modified 6 years ago

#2683 assigned enhancement

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

Reported by: izzy Owned by: peca
Priority: normal Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

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 7 years ago by peca

  • Status changed from new to assigned
  • Type changed from defect to enhancement

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 7 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 6 years ago by izzy

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

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.