Bug 16650 - Add script to clear report caches manually
Summary: Add script to clear report caches manually
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Kyle M Hall (khall)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-03 18:12 UTC by Kyle M Hall (khall)
Modified: 2023-09-09 20:49 UTC (History)
3 users (show)

See Also:
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 (4.01 KB, patch)
2016-06-03 18:14 UTC, Kyle M Hall (khall)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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?