[
https://jira.duraspace.org/browse/DS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20138#action_20138
]
Robin Taylor commented on DS-871:
---------------------------------
Hi Peter and Hardy,
Oh well, at least you have ruled out the option of turning off caching
completely.
The only way to really debug this is to find the Transformer that is causing
the problem and debug it to find out what values are being output from getKey()
and getvalidity() each time through. If you are performing the same action on
the same components each time then getKey should be the same (and not be null
or "0), getValidity should change if you expect different results. If its not
changing then a valid SourceValidity object is not being generated correctly.
If all looks ok but you are still getting cached results then turn off caching
just for that Transformer (by removing "implements
CacheableProcessingComponent") and that should at least confirm that the
caching is happening elsewhere, which shouldn't happen as far as I can make
out. Apologies for not doing this myself.
Cheers.
> XMLUI caches community / collection page which doesn't show a recently
> submitted item immediately
> -------------------------------------------------------------------------------------------------
>
> Key: DS-871
> URL: https://jira.duraspace.org/browse/DS-871
> Project: DSpace
> Issue Type: Bug
> Components: XMLUI
> Affects Versions: 1.7.0, 1.7.1
> Reporter: Peter Dietz
>
> With discovery disabled in xmlui, a recently submitted item does not show on
> the recently submitted items list for the collection or community page, until
> the page cache expires. This may be by design, but it is a route that a user
> may be expecting to find their recently submitted item.
> Perhaps on submission, the cache for the parent container pages can be
> invalidated so that the next page view of it will get the recently submitted
> item in the list.
> To reproduce, in xmlui (tested with discovery off), view a collection page,
> then submit a new item to that collection, and go back to that collection
> page after submission. Continuously refreshing the page will not show the new
> item, unless a user tries to hard-clear the xmlui cache. Such as appending
> junk to the url as a parameter. i.e.
> servername.com/handle/123456789/1234?random-text
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel