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

Misleading default language with global structures

    Details

      Description

      Steps to reproduce

      1. Start Liferay
      2. Set System Settings > Web Content > Administration > Changeable Default Language as true
      3. Set en_US, es_ES as instance languages and en_US as the default language of the instance
      4. Go to Global site and create a new structure with a single English field named test. Save the new structure.
      5. Create a new site with es_ES as single and default language
      6. Create a new web content in this site using the global structure
      7. Click Save

      Expected behavior
      Content is saved

      Current behavior
      Error: The default language (en_US) does not match the portal's available languages (es_ES).

      Additional information
      So even when all the flags are showing Spanish as selected language and in the right column you can see: "Default Language: Spanish (ES)", after submitting the content you realized the underlying default language is the one from the structure, en_US

      Just by changing default language (in the right column) to Spanish is enough to be able to submit the form

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              antonio.ortega Antonio Ortega
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.1.10 DXP FP22
                  7.1.X
                  7.2.10 DXP FP9
                  7.2.X
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master