JIRA'd as https://issues.jasig.org/browse/UP-2936
cheers, Steve On 17/02/2011, at 3:55 PM, Steve Swinsburg wrote: > > Changed thread name from Re: [uportal-dev] question about universality > sidebar when logged out > > I managed to reliably reproduce this one on 3.2.4 using a skin we have based > on Ivy. > > Login to uPortal, then open your browser's cookie manager and delete your > uPortal JSESSIONID cookie - effectively timing out your session. > Click something that invokes a portlet action like maximise, or edit, or the > 'Portlet Manager' link. > You will see whats in the following screenshot. > > > <Screen shot 2011-02-17 at 3.53.44 PM.png> > > I also got this in the logs. I'll JIRA this. > > WARN [http-8080-1] Feb/17 15:52:10,425 web.RequestAttributeSourceFilter.[] - > No username found for attribute 'null' among {serverName=[steve.x.anu.edu.au]} > INFO [http-8080-1] Feb/17 15:52:10,425 provider.SimpleSecurityContext.[] - > Principal or OpaqueCredentials not initialized prior to authenticate > WARN [http-8080-1] Feb/17 15:52:10,425 web.RequestAttributeSourceFilter.[] - > No username found for attribute 'null' among {serverName=[steve.x.anu.edu.au]} > INFO [http-8080-1] Feb/17 15:52:10,551 jndi.JndiManagerImpl.[] - JNDI > Context configured for sessionId='F3CF2745AF4A7E2A8CDC48832854CDC3', > userId='11', and layoutId='0' > WARN [http-8080-1] Feb/17 15:52:10,579 portal.ChannelManager.[] - > org.jasig.portal.PortalException: Could not find a transient node for id: > u8l1n14 > org.jasig.portal.PortalException: Could not find a transient node for id: > u8l1n14 > at > org.jasig.portal.layout.TransientUserLayoutManagerWrapper.getTransientNode(TransientUserLayoutManagerWrapper.java:445) > at > org.jasig.portal.layout.TransientUserLayoutManagerWrapper.getNode(TransientUserLayoutManagerWrapper.java:190) > at > org.jasig.portal.layout.immutable.ImmutableUserLayoutManagerWrapper.getNode(ImmutableUserLayoutManagerWrapper.java:93) > at > org.jasig.portal.ChannelManager.instantiateChannel(ChannelManager.java:744) > at > org.jasig.portal.ChannelManager.getChannelInstance(ChannelManager.java:952) > at > org.jasig.portal.ChannelManager.passPortalEvent(ChannelManager.java:825) > at > org.jasig.portal.url.processing.UserLayoutParameterProcessor.processParameters(UserLayoutParameterProcessor.java:131) > at > org.jasig.portal.url.processing.RequestParameterProcessorListController.processParameters(RequestParameterProcessorListController.java:96) > at > org.jasig.portal.PortalSessionManager.doGetInternal(PortalSessionManager.java:286) > at > org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:202) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112) > at > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) > at java.lang.Thread.run(Thread.java:680) > INFO [PortalEvent-3] Feb/17 15:52:10,583 handlers.LoggingEventHandler.[] - > Session created for GUEST_USER (guest) at Thu Feb 17 15:52:10 EST 2011 > ERROR [http-8080-1] Feb/17 15:52:10,583 portal.ChannelManager.[] - Error > sending layout event maximizeEvent to channel null > java.lang.NullPointerException > at > org.jasig.portal.ChannelManager.passPortalEvent(ChannelManager.java:833) > at > org.jasig.portal.url.processing.UserLayoutParameterProcessor.processParameters(UserLayoutParameterProcessor.java:131) > at > org.jasig.portal.url.processing.RequestParameterProcessorListController.processParameters(RequestParameterProcessorListController.java:96) > at > org.jasig.portal.PortalSessionManager.doGetInternal(PortalSessionManager.java:286) > at > org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:202) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112) > at > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) > at java.lang.Thread.run(Thread.java:680) > > > cheers, > Steve > On 17/02/2011, at 7:53 AM, Steve Swinsburg wrote: > >> Hi Jerry, >> >> We have the same issue, our skin is based on ivy. We are looking for a >> solution as well so will be watching this one closely. >> >> cheers, >> Steve >> >> >> On 17/02/2011, at 1:19 AM, Jerry Shipman wrote: >> >>> I should clarify, sorry - it's not a blank screen, it's the header and >>> footer of the uPortal, and the main nav tabs, but the content area is blank >>> (no portlets and no login button). >>> >>> Thank you, (sorry for the spam) >>> Jerry >>> >>> From: Jerry Shipman <je...@cornell.edu> >>> Reply-To: "uportal-dev@lists.ja-sig.org" <uportal-dev@lists.ja-sig.org> >>> Date: Wed, 16 Feb 2011 09:07:28 -0500 >>> To: "uportal-dev@lists.ja-sig.org" <uportal-dev@lists.ja-sig.org> >>> Subject: [uportal-dev] question about universality sidebar when logged out >>> >>> Hello, >>> I have a sort of extremely specific issue, but I wonder if anybody has any >>> ideas about how i might address it. >>> >>> The problem is: if a user comes in to a page other than the login screen >>> (e.g. maybe following a bookmark to >>> "render.userLayoutRootNode.uP?uP_fname=word-of-the-day" or something), he >>> does not get the login button. He just gets a blank screen. >>> >>> It may only happen when the user is already authenticated with SSO, but >>> does not have a uPortal application session. >>> >>> In the "quick start", it does not happen with the "uportal3" skin but it >>> DOES happen if "ivy" is the default skin (I set this by editing >>> "/uPortal-3.2.2/data/uP3_uPortal.script" (search for "uportal3")- perhaps >>> there is an easier way?). >>> >>> I think the reason for this has to do with the universality USE_SIDEBAR >>> variable, which is "true" for "uportal3" but "false" for "ivy". I think >>> something like: if the sidebar always shows up anyway (USE_SIDEBAR==true), >>> then it will be there with the login button in it. But the sidebar is not >>> always supposed to show up, then it doesn't show up under this circumstance. >>> >>> Does anybody have any ideas about how to change this? I would like it to >>> always show the login button if the user doesn't have a valid application >>> session. Or maybe redirect to the login page or something. >>> >>> I am thinking I might be able to hack something into the theme ("if not >>> authenticated, set use_sidebar=true", or "if (i don't have access to render >>> some specific portlet) set use_sidebar=true", or something like that)...but >>> I wondered if anybody had any idea that was better than that. Or if someone >>> more knowledgable can provide me some guidance about what to hack (or what >>> to not hack). >>> >>> Thank you, >>> Jerry >>> >>> -- >>> >>> You are currently subscribed to uportal-dev@lists.ja-sig.org as: >>> je...@cornell.edu >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/uportal-dev >>> -- >>> >>> You are currently subscribed to uportal-dev@lists.ja-sig.org as: >>> steve.swinsb...@gmail.com >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/uportal-dev >> > -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev