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

When creating System Settings, theres a max character limit with configurations with String[] before it misplaces the \, causing the configuration to be incorrect

Details

    • 3

    Description

      Description
      Very long strings for String arrays in System Settings causes the configuration to be invalid, with no errors thrown as well

      Steps to Reproduce

      1. Go to Documents & Media > System Scope > Item Selector View > Valid Extensions in System Settings
      2. Add a very very long string (the value doesnt need to be valid, since we just need to check the exported file)
      3. Export the configuration

      Expected Result
      the \ marker used to designate newline is alligned with each value in the string array

      Actual Result
      the \ marker is on its on line within the string array, likely due to overflow, so all the configurations do not get read (or not read at all)

      Tested on Tomcat 9.0.17 + MySQL 5.7
      Portal master GIT ID: cd88252c3891fd40e757e2c658ef6c1c7b257f9a

      Attachments

        Issue Links

          Activity

            People

              support-lep@liferay.com SE Support
              kyle.miho Kyle Miho
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                1 year, 12 weeks, 3 days ago

                Packages

                  Version Package