Item Counts (webui.strengths): Cached Counts Not Updating #9434
Labels
bug
component: Discovery
Related to Discovery search or browse system
medium priority
testathon
Reported by a tester during Community Testathon
Describe the bug
Cached item counts are not updating (unless Tomcat is restarted). (Edited to add version 7.6.1)
To Reproduce
Steps to reproduce the behavior:
Log in to the demo instance as an administrator: https://demo.dspace.org
Navigate to an existing community with a small collection, such as: https://demo.dspace.org/communities/bd0943b0-1c46-4980-b831-f9300e4740e2. Note the item count badges for the community and the collection (in this example, as of this moment, 0). Observe that there are actual items in the collection.
Add some new items to the small collection: https://demo.dspace.org/collections/55a12ef1-cecc-4005-8f65-d0a4d17644ce
Run the index-discovery process, check item count badges again, they have not changed (still 0 as of this moment).
Log out, navigate away, clear browser cache, reload in new window, and/or open in incognito mode. Check the item count badges again. They have not changed.
On my test instance, if I restart the Tomcat service, the item counts update immediately.
Expected behavior
Item counts, even cached item counts, should update after discovery job and/or after full reload triggered by new window, logout, clearing browser cache, etc.
The text was updated successfully, but these errors were encountered: