Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-42900

Move all Display Style Views to available box cause console error

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.X EE, 7.0.0 M3
    • Fix Version/s: 6.2.2 CE GA3 , 6.2.X EE, 7.0.0 M1
    • Component/s: DM
    • Environment:
      Tomcat 7.0.42 + MySQL 5.5.21 Portal ee-6.2.x EE GIT ID: f7a096d9d1a130df20b671cd2af9a38c160475a7.
      Tomcat 7.0.42 + MySQL 5.5.21 Portal master GIT ID: 20ee7779346daaefda67c2088fc9340fcafd2457.

      Description

      Steps for reproduce:

      1. Go to Site Administration -> Documents and Media.
      2. Click the wheel gear icon to open the configuration pop-up.
      3. Move all the Display Style Views from Current to Available box.
      4. Click Save.

      Actual result:
      Console errors occur:

      02:51:48,498 ERROR [http-bio-9080-exec-10][IncludeTag:129] Current URL /group/control_panel/manage?p_p_auth=lZsXUkxi&p_p_id=20&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=10184&refererPlid=10187&controlPanelCategory=sites generates exception: 0
      java.lang.ArrayIndexOutOfBoundsException: 0
              at org.apache.jsp.html.portlet.document_005flibrary.view_jsp._jspService(view_jsp.java:801)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
              at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3809)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
      

      Expected result:
      No console error occur.

        Attachments

        1. Display Styles.png
          Display Styles.png
          47 kB
        2. fixed-view.jpg
          fixed-view.jpg
          39 kB
        3. move-views.gif
          move-views.gif
          1.96 MB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 18 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1