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

Sitemap shows all the available languages instead of only the current ones

Details

    Description

      Steps to reproduce:

      1. Put the below in the portal-ext.properties:
        locales=it_IT,en_US
        locales.enabled=it_IT,en_US
        locale.prepend.friendly.url.style=2
        xml.sitemap.index.enabled=false
      2. Create a new site
      3. Remove Italian from the Current languages
      4. Create a page
      5. Open the below link, put the site's id into the "<group-id>" part: http://localhost:8080/sitemap.xml?groupId=<group-id>&privateLayout=false

      Expected behavior: You should only see the English locales in the URLs

      Current behavior: You see both the English and Italian locales

      Attachments

        Activity

          People

            team-lima Product Team Lima
            attila.bakay Attila Bakay
            Kiyoshi Lee Kiyoshi Lee
            Attila Bakay Attila Bakay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 10 weeks, 4 days ago

              Packages

                Version Package
                7.3.X
                7.4.3.18 CE GA18
                7.4.3.19 CE GA19
                Master