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

Improve alternate language logic for display pages

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Friendly URL Service
    • Labels:
      None

      Description

      At the moment we are creating a fake ThemeDisplay because calling

      _portal.getGroupFriendlyURL(layoutSet, themeDisplay, locale)
      

      returns invalid URLs that don't follow the algorithm defined by LPS-37809.

      With https://github.com/liferay-lima/liferay-portal/pull/635 we apply the same logic which allows us to avoid cloning the ThemeDisplay.

      However, as Cristina Gonzalez said here this makes some tests fail. Since this piece of code is critical we don't want to break it. We will therefore leave it here for now until we have time to get back to it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              alejandro.tardin Alejandro Tardín
              Recent user:
              Eudaldo Alonso
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package