[
https://jira.duraspace.org/browse/DS-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19175#action_19175
]
Robin Taylor commented on DS-435:
---------------------------------
I dont think this is Cocoon caching, at least not as I understand it. Cocoon
caching means that the main body of the code is not run and the output XML (or
Sax events) from a previous invocation are reused. In this case the code is
being run. The big surprise for me was discovering that instance variables, in
this case 'availableExports', still have their value from the last time the
class executed. It seems Cocoon does not instantiate a new copy of the
Transformer object for each new request. If the user is not logged in then the
'setup' method swallows an Exception leaving availableExports with the value
from the last request, ie when the user was logged on. I'll attach a patch
shortly but I would be grateful if someone could point me to any Cocoon
documentation that describes writing a custom Transformer.
Cheers, Robin.
> UI cosmetics, "My Exports" displayed in navigation bar, when no user is
> logged in
> ---------------------------------------------------------------------------------
>
> Key: DS-435
> URL: https://jira.duraspace.org/browse/DS-435
> Project: DSpace
> Issue Type: Bug
> Components: XMLUI
> Reporter: Claudia Jürgen
> Assignee: Robin Taylor
> Priority: Trivial
>
> In the xmlui with nobody logged in the navigation bar displays:
> My Account
> * My Exports
> * Login
> * Register
> The "My Exports" should only be visible, when there is allready a logged in
> user.
--
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
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel