Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.2.X EE, 7.0.0 M3
    • Fix Version/s: 6.2.X EE, 7.0.0 M3
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal ee-6.2.x EE GIT ID: 6c25cc95d5da68569f77a900e5d5437857f32a95.
      Tomcat 7.0 + MySQL 5. Portal master GIT ID: 616d03f09a4981a36680e999deebcdad8d13d703.
    • Story Points:
      5
    • Fix Priority:
      4

      Description

      1. Navigate to '[Liferay Bundle]/webapps/ROOT/WEB-INF/classes/'.
      2. Edit portal-ext.properties and paste following code.
        locale.prepend.friendly.url.style=0
      3. Start the application server ans sign in.
      4. Add Page named Language Test Page.
      5. Add Language portlet to the page.
      6. Click the American Flag (USA) and assert that the URL displays http://localhost:8080/web/guest/language-test-page.
      7. Click the Spanish Flag (Spain).
      8. Assert the URL.

      Expected result:
      The URL shouldn't be change despite changing languages after changing the localization style to"0" and no exception in the console.

      Actual result:
      Exceptions displays in the console and Language portlet is temporarily unavailable.(This issue only affect on master)

      09:06:58,316 ERROR [http-bio-7080-exec-2][render_portlet_jsp:132] null
      java.lang.IllegalArgumentException:  is not a valid redirect
              at com.liferay.portlet.ActionResponseImpl.sendRedirect(ActionResponseImpl.java:37)
              at com.liferay.portlet.language.action.ViewAction.processAction(ViewAction.java:160)
              at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:166)
              at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
              at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:649)
              at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:312)
              at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:402)
              at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:110)
              at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:109)
              at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:115)
              at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:356)
              at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
              at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:79)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:173)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 24 weeks ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M3