Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-3093

User Dashboards and Sites are broken after upgrade from 3.4.14

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Not a bug
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: Share Application, Upgrades
    • Labels:
      None
    • Environment:
      Enterprise v5.0.0 (r87652-b182) schema 8,007.
      Upgrade path: 3.4.14 (r60906-b5) schema 4,213 --> 5.0.0 (r87652-b182) schema 8,007.
      Server: RHEL 6.5 X64, MySQL v5.6.17, mysql-connector-java-5.1.32-bin.jar, Apache Tomcat 7.0.53, JDK 7 U67 X64.

      Description

      Steps to Reproduce

      1. Install initial version 3.4.14
      2. Install target version 5.0.0
      3. Configure the initial and target versions to use the same DB and alf_data.
      4. Start initial version.
      5. Create any two users, e.g. userDashletUser and siteDashletUser.
      6. Add all available dashlets to the User Dashboard of the userDashletUser.
      7. As siteDashletUser, create any two sites, e.g. simpleSite and dashletSite.
      8. Add all available dashlets to the Site Dashboard of the dashletSite.
      9. Perform upgrade to the target version.
      10. Check the logs during upgrade.
      11. Verify the dashboards of all previously created users and sites.

      Observed Result

      • Patch patch.surfConfigFolder returns several warnings:
         ...
         2014-10-10 17:45:37,551  INFO  [patch.impl.SurfConfigFolderPatch] [SurfConfigFolderPatch1] WARNING: unable to find surf-config folder for site: [dashletSite]
         ...
        
      • All User Dashboards are in the default state, i.e. all previously added dashlets are absent.
      • Impossible to enter any site. (screen1.png):
        Oct 10, 2014 5:52:12 PM org.apache.catalina.core.StandardWrapperValve invoke
        SEVERE: Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Could not resolve view with name 'site/dashletSite/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'] with root cause
        javax.servlet.ServletException: Could not resolve view with name 'site/dashletSite/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
        	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
        	at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:986)
        	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
        	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
        	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
        	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
        	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.alfresco.web.site.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:168)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.alfresco.web.site.servlet.CSRFFilter.doFilter(CSRFFilter.java:322)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:391)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
        	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        	at java.lang.Thread.run(Unknown Source)
        
        2014-10-10 17:52:12,488  ERROR [alfresco.web.site] [http-apr-8080-exec-10] javax.servlet.ServletException: Could not resolve view with name 'site/dashletSite/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
         Oct 10, 2014 5:53:24 PM org.apache.catalina.core.StandardWrapperValve invoke
        SEVERE: Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Could not resolve view with name 'site/dashletSite/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'] with root cause
        javax.servlet.ServletException: Could not resolve view with name 'site/dashletSite/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
        	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
        	at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:986)
        	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
        	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
        	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
        	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
        	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.alfresco.web.site.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:168)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.alfresco.web.site.servlet.CSRFFilter.doFilter(CSRFFilter.java:322)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:391)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
        	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        	at java.lang.Thread.run(Unknown Source)
        
        2014-10-10 17:53:24,368  ERROR [alfresco.web.site] [http-apr-8080-exec-2] javax.servlet.ServletException: Could not resolve view with name 'site/dashletSite/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
        
      • The issue is not reproducible when performing indirect upgrade, e.g. 3.4.14 (.5 r73798-b26) > 4.0.2 (.48 207) > 5.0.0 (r87652-b182).


      ChristinaSh

        Attachments

        1. catalina.out
          221 kB
        2. schema.zip
          43 kB
        3. screen1.png
          screen1.png
          55 kB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  alfrescoqa Alfresco QA Team
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel