[ 
https://jira.duraspace.org/browse/DS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19830#action_19830
 ] 

Robin Taylor commented on DS-871:
---------------------------------

I haven't tested this but at first glance I notice the validity object is not 
being null'ed in recycle(). This may mean that getValidity() is returning the 
same value every time causing the cached output to be reused. I have been 
caught out in the past by the fact that Transformer objects are reused rather 
than a new one being instantiated when required. If I get a chance I'll test 
this theory.

> 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

        

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to