Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item Counts (webui.strengths): Cached Counts Not Updating #9434

Open
AmyBW opened this issue Mar 26, 2024 · 2 comments · May be fixed by #9583
Open

Item Counts (webui.strengths): Cached Counts Not Updating #9434

AmyBW opened this issue Mar 26, 2024 · 2 comments · May be fixed by #9583
Assignees
Labels
bug component: Discovery Related to Discovery search or browse system medium priority testathon Reported by a tester during Community Testathon

Comments

@AmyBW
Copy link

AmyBW commented Mar 26, 2024

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:

  1. Log in to the demo instance as an administrator: https://demo.dspace.org

  2. 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.

  3. Add some new items to the small collection: https://demo.dspace.org/collections/55a12ef1-cecc-4005-8f65-d0a4d17644ce

  4. Run the index-discovery process, check item count badges again, they have not changed (still 0 as of this moment).

  5. 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.

  6. 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.

@alanorth
Copy link
Contributor

@AmyBW we are running DSpace 7.6.1 and notice this as well. I don't pay very close attention to the strengths, and we reboot the system for updates a few times a month anyway, but I've been suspecting something wasn't right for some time.

Now I just confirmed it by submitting an item and waiting one hour. I tried hard refresh, logging out, and a private window, but the only time the strengths are updated is if we restart Tomcat.

@alanorth alanorth added component: Discovery Related to Discovery search or browse system and removed needs triage New issue needs triage and/or scheduling labels Apr 15, 2024
@tdonohue tdonohue added testathon Reported by a tester during Community Testathon help wanted Needs a volunteer to claim to move forward labels Apr 17, 2024
@tdonohue tdonohue self-assigned this May 15, 2024
@tdonohue tdonohue removed the help wanted Needs a volunteer to claim to move forward label May 15, 2024
@tdonohue
Copy link
Member

Fix for this issue now available in #9583. This PR is under review for 8.0 and 7.6.2. If anyone wants to help test it, I'd appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component: Discovery Related to Discovery search or browse system medium priority testathon Reported by a tester during Community Testathon
Projects
Status: 🏗 In Progress
3 participants