Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-1007

Can not add a profile picture through My Account

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.0.2 CE GA1
    • Fix Version/s: --Sprint - 07/12, 2.0.2 CE GA1
    • Labels:
      None
    • Environment:
      Tomcat 7.0.25 + MySQL 5.1. Portal 6.1.x GIT ID:: 2e63278da2b54df16296498d1f5ae2667368c222.
      SO Plugins GIT ID: 57830c824d6eb893c399e307b464b7d88a040c8d.
    • Fix Priority:
      5

      Description

      Can not add a profile picture through My Account

      1. Deploy SO Plugins
      2. Add Test to SO User Role
      3. Click Test Test>My Account
      4. Click Change
        • Select a pic
        • Click Save

      System displays console errors and "My Account is temporarily unavailable." SO only issue

      23:36:16,681 ERROR [render_portlet_jsp:154] java.lang.ClassCastException: com.liferay.so.util.DynamicActionRequest cannot be cast to com.liferay.portlet.PortletRequestImpl
              at com.liferay.portal.util.PortalImpl.getUploadPortletRequest(PortalImpl.java:3878)
              at com.liferay.portal.util.PortalUtil.getUploadPortletRequest(PortalUtil.java:1174)
              at com.liferay.portlet.usersadmin.action.EditUserPortraitAction.updatePortrait(EditUserPortraitAction.java:100)
              at com.liferay.portlet.usersadmin.action.EditUserPortraitAction.processAction(EditUserPortraitAction.java:57)
              at com.liferay.portal.struts.StrutsPortletActionAdapter.processAction(StrutsPortletActionAdapter.java:51)
              at com.liferay.so.hook.action.EditUserAction.updateUser(EditUserAction.java:252)
              at com.liferay.so.hook.action.EditUserAction.processAction(EditUserAction.java:82)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
              at com.liferay.portal.struts.PortletActionAdapter.processAction(PortletActionAdapter.java:55)
              at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:175)
              at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:190)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:651)
              at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:686)
              at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:361)
              at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:856)
              at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:635)
              at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:246)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 17 weeks, 2 days ago

                Packages

                Version Package
                --Sprint - 07/12
                2.0.2 CE GA1