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

Inconsistent site URLs generated when I18nLanguageId is not available

    Details

      Description

      Sites' URLs are incorrectly generated when I18nLanguageId is not available in the site.

      Steps to reproduce:

      1. Create a new site 'test' and set french as default and only current language.
      2. From Liferay DXP site, write the next URL: http://localhost:8080/en/web/guest
      3. From the previous URL, go to Site Selector Menu and go to the new site 'test'.

      Expected result: you are redirected to http://localhost:8080/group/test

      Current result:  Not found error because we are trying to access http://localhost:8080/en/group/test, and English is not among 'test''s available locales.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              cristina.rodriguez Cristina Rodriguez
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                35 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP93
                  7.0.10.14 DXP SP14
                  7.0.X
                  7.1.10 DXP FP18
                  7.1.10.5 SP5
                  7.1.X
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.10 DXP GA1
                  Master