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

Portal doesn't work properly when the URL contains locale

    Details

    • Fix Priority:
      5

      Description

      Steps to Reproduce:

      1. Sign In to portal.
      2. Access to portal again with URL http://localhost:8080/es/web/guest/home.
      3. Assert some control menu icons are not visible.
      4. Assert that Global Menu icon is not clickable.
      5. Go to Web Content.
      6. Assert Plus icon is not clickable.
      7. Go to edit web content by URL: http://localhost:8080/es/group/guest/~/control_panel/manage?p_p_id=com_liferay_journal_web_portlet_JournalPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_journal_web_portlet_JournalPortlet_mvcPath=%2Fedit_article.jsp&_com_liferay_journal_web_portlet_JournalPortlet_redirect=%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_journal_web_portlet_JournalPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_v_l_s_g_id%3D20122%26p_p_auth%3DIU53cvAy&_com_liferay_journal_web_portlet_JournalPortlet_groupId=20122&_com_liferay_journal_web_portlet_JournalPortlet_folderId=0&_com_liferay_journal_web_portlet_JournalPortlet_ddmStructureKey=BASIC-WEB-CONTENT&p_p_auth=IU53cvAy
      8. Assert that all fields are not editable.

      Expected Results:
      Portal should work properly when the URL contains locale.

      Actual Results:
      Portal doesn't work properly when the URL contains locale. The issue doesn't happen when the locale is en.

      Browser console error when navigate to portlet.

      Reproduced on:
      Tomcat 9.0.33 + MySQL 5.7. Portal master DXP GIT ID: 1f4f5297456bbf078f3be4152b1e5576799c39b3.

      Notes:
      1. The issue doesn't happen when the locale is en.
      2. This issue might also happens to other places of portal besides the icons and form fields in above steps.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              john.co John Co
              Reporter:
              summer.zhang Summer Zhang
              Participants of an Issue:
              Recent user:
              John Co
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 6 days ago

                  Packages

                  Version Package