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

Language change to different locale after session_click request

    Details

      Description

      set portal-ext.properties with:

      layout.user.private.layouts.enabled=false
      layout.user.public.layouts.enabled=false

       

      Modify default site (guest) languages. (Configuration -> Site Settings -> Languages) Remove spanish.

      Create a new site "esgroup" and set spanish as default locale and only current locale

      Create a public page for this site

      Create a new user "usera" and set spanish as preferred language.

      Add "usera" as member of "esgroup" site

      Give "usera" site administration role on "esgroup".

      Go to localhost:8080/web/esgroup

      Log in as "usera"

      Open dev tools on browser and check network tab

      Click on build menu (Compilación)

      Observe that a new session_click request is being sent.

      Click on any place of product menu, pex. Pages

      Expected result:

      locale is not changed

      Current result:

      locale is changed to english.

      (x)Reproduced on 7.1.x commit aeef1ee89415b9901efdaca0956bc92ea5be1cf2

       

      Not reproduced on 7.2+ because request to session_clicks already have plid included

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            jorge.garcia Jorge García Jiménez
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Jorge García Jiménez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP25
                7.1.X