Bug report also filed for the live counts breaking the community list: 
https://github.com/DSpace/DSpace/issues/9437


On Monday, March 25, 2024 at 8:05:54 PM UTC-7 Ball Wicklund,Amy wrote:

> Bug report filed:https://github.com/DSpace/DSpace/issues/9434
>
>
> Amy Ball Wicklund
>
> *Pronouns: She/Her *(learn more <https://pronouns.colostate.edu/>)
> Developer and Application Administrator
> Library Technology Services
> *Colorado State University Libraries*
>
> 970.491.8780 <(970)%20491-8780>
>
>
> ------------------------------
> *From:* [email protected] <[email protected]> on behalf 
> of Ball Wicklund,Amy <[email protected]>
> *Sent:* Monday, March 25, 2024 7:36 PM
>
> *To:* DSpace Technical Support <[email protected]>
> *Subject:* Re: [dspace-tech] Re: Item Counters for Communities and 
> Collections not working well
>
> *** Caution: EXTERNAL Sender ***
> Update: restarting Tomcat updates the item counts to the correct number.
>
>
>
>
> Amy Ball Wicklund
>
> *Pronouns: She/Her *(learn more <https://pronouns.colostate.edu/>)
> Developer and Application Administrator
> Library Technology Services
> *Colorado State University Libraries*
>
> 970.491.8780 <(970)%20491-8780>
>
>
> ------------------------------
> *From:* [email protected] <[email protected]> on behalf 
> of Amy Ball Wicklund <[email protected]>
> *Sent:* Monday, March 25, 2024 5:47 PM
> *To:* DSpace Technical Support <[email protected]>
> *Subject:* Re: [dspace-tech] Re: Item Counters for Communities and 
> Collections not working well 
>  
>
> *** Caution: EXTERNAL Sender ***
> Forgot to add that disabling the cache (setting 
> `webui.strengths.cache=false`) results in "Error fetching collection" and 
> "error.top-level-communities". No communities or collections will load. 
>
> From the console & error logs: java.lang.NullPointerException: Cannot 
> invoke "org.dspace.core.DBConnection.getSession()" because the return value 
> of "org.dspace.core.Context.getDBConnection()" is null
>         at 
> org.dspace.core.AbstractHibernateDAO.getHibernateSession(AbstractHibernateDAO.java:59)
>  
> ~[dspace-api-7.6.1.jar:7.6.1]
>         at 
> org.dspace.core.AbstractHibernateDAO.createQuery(AbstractHibernateDAO.java:137)
>  
> ~[dspace-api-7.6.1.jar:7.6.1]
>         at 
> org.dspace.content.dao.impl.ItemDAOImpl.countItems(ItemDAOImpl.java:395) 
> ~[dspace-api-7.6.1.jar:7.6.1]
>         at 
> org.dspace.content.ItemServiceImpl.countItems(ItemServiceImpl.java:1589) 
> ~[dspace-api-7.6.1.jar:7.6.1]
>         at org.dspace.browse.ItemCounter.getCount(ItemCounter.java:131) 
> ~[dspace-api-7.6.1.jar:7.6.1]
>         at 
> org.dspace.content.CommunityServiceImpl.countArchivedItems(CommunityServiceImpl.java:723)
>  
> ~[dspace-api-7.6.1.jar:7.6.1]
>         at 
> org.dspace.content.Community.countArchivedItems(Community.java:275) 
> ~[dspace-api-7.6.1.jar:7.6.1]
> ... (etc) "
>
> On Monday, March 25, 2024 at 3:21:00 PM UTC-7 Amy Ball Wicklund wrote:
>
> We are seeing the same problematic behavior in our production 
> installation. Incorrect inaccurate item counts, even on publicly accessible 
> collections & items, even days after the most recent submission. 
>
>
>
> On Saturday, March 9, 2024 at 1:51:04 AM UTC-8 Caty wrote:
>
> Hi,
>
> The item counter for collection  
> https://demo.dspace.org/collections/48d86c8d-4a35-4c79-b7b7-26a41995cc1a 
> (READ/DEFAULT_ITEM_READ/DEFAULT_BITSTREAM_READ) with 2 items
>
> is stiil 1 :  DDD  
> <https://demo.dspace.org/collections/48d86c8d-4a35-4c79-b7b7-26a41995cc1a>(1) 
>  
> , although the second item has been submitted on the 5th of March, 4 days 
> ago.
>
>
>
> Best regards,
> Caty
>
> -- 
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> --- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/dspace-tech/hMxGxO9C4Us/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/cc854395-5142-41d4-800d-a20bec74df1cn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/cc854395-5142-41d4-800d-a20bec74df1cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> -- 
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> --- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/dspace-tech/hMxGxO9C4Us/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/DM6PR07MB708450C0BC0AEC74B8C473AEDA352%40DM6PR07MB7084.namprd07.prod.outlook.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/DM6PR07MB708450C0BC0AEC74B8C473AEDA352%40DM6PR07MB7084.namprd07.prod.outlook.com?utm_medium=email&utm_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/a0ce21f2-f6ba-49e8-ade5-3cf37223a83dn%40googlegroups.com.

Reply via email to