Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2
    • Similar Issues:
      Show 3 results 

      Description

      Cannot create a new or edit an existing report definition.

      14:36:14,874 ERROR [http-8080-1][render_portlet_jsp:154] java.lang.ClassCastException: com.liferay.compat.portal.kernel.portlet.DynamicActionRequest cannot be cast to com.liferay.portlet.PortletRequestImpl
      at com.liferay.portal.util.PortalImpl.getUploadPortletRequest(PortalImpl.java:4170)
      at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:74)
      at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:55)
      at com.liferay.portal.util.PortalUtil.getUploadPortletRequest(PortalUtil.java:1293)
      at com.liferay.reports.admin.portlet.action.EditDefinitionActionCommand.doProcessCommand(EditDefinitionActionCommand.java:54)
      at com.liferay.util.bridges.mvc.BaseActionCommand.processCommand(BaseActionCommand.java:33)
      at com.liferay.util.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:261)
      at com.liferay.compat.util.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:73)
      at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:78)
      at com.liferay.util.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:220)
      at com.liferay.compat.util.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:56)
      at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
      at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
      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 com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:77)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        Issue Links

          Activity

          Hide
          Sharry Shi added a comment - - edited

          PASSED Manual Testing using the following steps:

          1. Start Liferay bundle.
          2. Make the reports-portlet war file.
          3. Deploy the war file to Liferay. This also need the jasperreports-web war file.
          4. Go to Control Panel -> Reports Admin.
          5. Go to the tab called: Definitions and add a new report definition.
          6. Click the Action button after the new added report definition.
          7. Click Add Schedule.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 3decc66ba8f797d0e63c1fd82f74e2ff854fb753.
          Plugins 6.2.x EE GIT ID: 43b551701e8ceda2a49f3fbc564d424a96af233e.
          Tomcat 7.0 + MySQL 5. Portal 6.1.x.EE GIT ID: 6db1795497ef46f09907f918ee807d08db7e27f6.
          Plugins 6.1.x EE GIT ID: abba744d6bbe617d852346a2fb8575e5d95bc3dd.

          The report definition saved successfully.

          Show
          Sharry Shi added a comment - - edited PASSED Manual Testing using the following steps: Start Liferay bundle. Make the reports-portlet war file. Deploy the war file to Liferay. This also need the jasperreports-web war file. Go to Control Panel -> Reports Admin. Go to the tab called: Definitions and add a new report definition. Click the Action button after the new added report definition. Click Add Schedule. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 3decc66ba8f797d0e63c1fd82f74e2ff854fb753. Plugins 6.2.x EE GIT ID: 43b551701e8ceda2a49f3fbc564d424a96af233e. Tomcat 7.0 + MySQL 5. Portal 6.1.x.EE GIT ID: 6db1795497ef46f09907f918ee807d08db7e27f6. Plugins 6.1.x EE GIT ID: abba744d6bbe617d852346a2fb8575e5d95bc3dd. The report definition saved successfully.

            People

            • Assignee:
              Sharry Shi
              Reporter:
              Brian Chan
              Recent user:
              Esther Sanz
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 19 weeks, 3 days ago

                Development

                  Structure Helper Panel