 
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        [JBoss JIRA] (GTNPORTAL-2752) Problem in the acces-permission of container
                                
                                
                                
                                    
                                        by Khemais MENZLI (JIRA)
                                    
                                
                                
                                        
    [ https://issues.jboss.org/browse/GTNPORTAL-2752?page=com.atlassian.jira.pl... ] 
Khemais MENZLI commented on GTNPORTAL-2752:
-------------------------------------------
We need to change the td generation in UITableColumnContainer.gtmpl as below :
{code:xml} 
<% for(uiChild in uicomponent.getChildren()) {
       if (uiChild.hasPermission()) {%>
        <td class="${uiChild.id}TDContainer TDContainer" <% if(uiChild.getWidth()) { %> width="<%= uiChild.getWidth(); %>" <% } %>><% uicomponent.renderUIComponent(uiChild) %></td>
      <% 
       }
       } %>
{code} 
                
> Problem in the acces-permission of container
> --------------------------------------------
>
>                 Key: GTNPORTAL-2752
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2752
>             Project: GateIn Portal
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Racha Touzi
>
> We will integrate a new Container in the portal.xml wich will be displayed in all the site.
> But we have occurred a problem in the public page the container is displayed empty although it "access permission" is only for "*:/platform/users" :
> {code}
> <container id="LeftNavigation" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
> 		 <access-permissions>*:/platform/users</access-permissions>........
> {code}
> Logically, the container would be visible to the users who have the access right.
> So, is it a problem or a normal behavior ? if it's a problem , what is the solution ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
                                
                         
                        
                                
                                12 years, 10 months
                        
                        
                 
         
 
        
            
        
        
        
            
        
        
        
            
        
        
        
            
        
        
        
            
        
        
        
                
                        
                                
                                 
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        [JBoss JIRA] (GTNPORTAL-2644) Can't logout from GateIn on Tomcat
                                
                                
                                
                                    
                                        by Minh Hoang TO (JIRA)
                                    
                                
                                
                                        
     [ https://issues.jboss.org/browse/GTNPORTAL-2644?page=com.atlassian.jira.pl... ]
Minh Hoang TO resolved GTNPORTAL-2644.
--------------------------------------
    Resolution: Won't Fix
Bug of Tomcat 7.0.21 and 7.0.22
                
> Can't logout from GateIn on Tomcat
> ----------------------------------
>
>                 Key: GTNPORTAL-2644
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2644
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.4.0.Final
>         Environment: Latest GateIn master on tomcat 7.0.22
>            Reporter: Marek Posolda
>              Labels: portal-s70
>             Fix For: 3.6.0.Final
>
>
> I have latest GateIn master build on tomcat 7.0.22 
> - Login as john
> - Click to "Sign out". I am still logged and I have exception in server.log:
> {code}
> 60699 [http-bio-8080-exec-6] WARN org.exoplatform.web.CacheUserProfileFilter - An error occured while cache user profile
> javax.servlet.ServletException: java.lang.IllegalStateException: getWriter() has already been called for this response
>         at org.exoplatform.portal.application.PortalController.onService(PortalController.java:129)
>         at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:110)
>         at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:80)        
>         at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:79)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:72)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:85)
>         at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:47)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
>         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
>         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.IllegalStateException: getWriter() has already been called for this response
>         at org.apache.catalina.connector.Response.getOutputStream(Response.java:594)
>         at org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:199)
>         at org.exoplatform.portal.application.PortalRequestContext.getWriter(PortalRequestContext.java:550)
>         at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:223)
>         at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:161)
>         at org.exoplatform.web.WebAppController.service(WebAppController.java:366)
>         at org.exoplatform.portal.application.PortalController.onService(PortalController.java:125)
>         ... 45 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
                                
                         
                        
                                
                                12 years, 10 months