Bug 16650

Summary: Add script to clear report caches manually
Product: Koha Reporter: Kyle M Hall (khall) <kyle>
Component: Architecture, internals, and plumbingAssignee: Kyle M Hall (khall) <kyle>
Status: Failed QA --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jesse, nick, veron
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Small patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 16650 - Add script to clear report caches manually

Description Kyle M Hall (khall) 2016-06-03 18:12:27 UTC
It would be nice if there was an easy way to clear a report cache before it's expiration time.
Comment 1 Kyle M Hall (khall) 2016-06-03 18:14:58 UTC
Created attachment 52022 [details] [review]
Bug 16650 - Add script to clear report caches manually

It would be nice if there was an easy way to clear a report cache before
it's expiration time.

Test Plan:
1) Apply this patch
2) Read the help for misc/cronjobs/clear_report_cache.pl
3) Make a public report
4) Load that public report via svc/report
5) Change the report so it will give different results
6) Reload svc/report, you should get the same results
7) Clear the cache with this script
8) Reload svc/report again, you should now get updated results!
Comment 2 Jesse Maseto 2016-10-14 09:11:43 UTC
Cache does not clear after running the clear_cache_report.pl script. I just keep getting the same results.

-JesseM
Comment 3 Katrin Fischer 2023-09-09 20:49:35 UTC
Kyle, is there still interest in this one?