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

Cannot add structure with default locale different than English

Details

    • 1
    • 4
    • S05E06 - Donkey Kong
    • Regression Bug

    Description

      Steps to reproduce:

      1. Start the portal with a default locale different than English: 
        company.default.locale=es_ES
      2. Add a new simple structure in the default language (Spanish)

      Expected result: the structure is added without problems

      Current result: "Your request failed" "Please enter a valid name". We can see the following errors in browser's console:

      TypeError: Cannot read properties of null (reading 'getAttribute')
       at s._onSelectFlag (input_localized.js:449:34)
       at s._renderActiveLanguageIds (input_localized.js:546:16)
       at s.initializer (input_localized.js:801:9)
       at s._initHierarchy (base-core-min.js:1:3705)
       at s._baseInit (base-core-min.js:1:1015)
       at s.init (base-observable-min.js:1:653)
       at s._initBase (base-core-min.js:1:877)
       at s.i (base-core-min.js:1:260)
       at s.o (base-base-min.js:1:124)
       at s.w [as constructor] (widget-base-min.js:1:600)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cristina.rodriguez Cristina Rodriguez
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                47 weeks, 1 day ago

                Packages

                  Version Package