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

Asset Publisher shows current language when "show available locales" is set, even if no translation is available

    Details

      Description

      Steps to reproduce

      1. Add an asset publisher to the page
      2. Add a language selector portlet to the page
      3. Configure the asset publisher so that under "Display Settings" > "Set and Enable", the "Show Available Locales" checkbox is checked
      4. Create a web content with a translation into any language, and set that new language as the Default Language for the web content
      5. View the asset publisher portlet
      6. Use the language selector portlet that is different from the default site locale and the translation you added to the web content

      Expected behavior is that, because you didn't translate the content to the current locale, no flag for the current locale will be shown (since it's showing the default locale for the article itself).

      Actual behavior is that a flag for the current locale is shown, and it's the one that's selected (even though the content for the default language for the web content is what's actually shown).

        Attachments

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            minhchau.dang Minhchau Dang
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Minhchau Dang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 7 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP FP87
                7.0.10.12 DXP SP12
                7.0.X
                7.1.10 DXP FP14
                7.1.X
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                7.2.1 CE GA2
                7.3.10 DXP GA1
                Master