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

Canonical URL configuration for active languages can only be saved when the default language is selected

    Details

    • Fix Priority:
      4
    • Sprint:
      Forms_7.3_7, Forms_7.3_8

      Description

      A user is unable to create or edit a custom canonical URL for language translations unless the default language is selected.

      Steps to reproduce:

      1. Add a new site page (i.e. page1)
      2. Configure Page > Go to SEO tab
      3. Enable canonical URL
      4. By default there should be many available languages. Choose a non-default language by clicking the language icon next to the Canonical URL input field and selecting it from the dropdown
      5. Enter a URL (i.e. localhost:8080/es/web/guest/page1)
      6. Click save

      Expected result:
      URL is saved.

      Actual result:
      Nothing happens. No console or browser errors appear.

      Workaround: If the user then selects the default language (in this case english) from the icon, then the configuration for other active languages can be saved.

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7.
      Portal 7.2.x-private d89aa35fb1bfcca1bdb3b619ec2a196d24535902

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.2.X
                  7.3.0 CE GA1
                  Master