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

Exported multi-value settings appear in separate lines

Details

    Description

      Steps to reproduce:

      1. Navigate to Configuration > System Settings
      2. Click on any module with a multi-value setting in its configuration
        • Examples: Web Content, Web Content Administration, Documents & Media Service, Elasticsearch
      3. Save the default settings
      4. Export configuration for module

      Result: Multi-value settings are in separate lines in the *.cfg file. Only the first value (the value in the same line as the key) is read.

      ##
      ## To apply the configuration, place this file in the Liferay installation's osgi/modules folder. Make sure it is named com.liferay.journal.configuration.JournalServiceConfiguration.cfg.
      ##
      
      versionHistoryByDefaultEnabled=true
      articleCommentsEnabled=true
      databaseContentKeywordSearchEnabled=true
      charactersblacklist=&
      '
      @
      \
      ]
      }
      :
      =
      >
      /
      <
      [
      {
      

      Proposed solution: Exporting all System Config entries as *.config instead of *.cfg

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6.26
      Portal Master Git Hash: 2df8f5347f564c613c387eb3648dee87ddc5e295
      Portal ee-7.0.x Git Hash: 1b9159ef62a47ba06612dd531f0449f502aac877
      DXP GA 1 + FP2

      Attachments

        Issue Links

          Activity

            People

              brian.lee Brian Lee
              brian.lee Brian Lee
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 23 weeks, 3 days ago

                Packages

                  Version Package
                  7.0.0 DXP SP1
                  7.0.0 DXP FP8
                  7.0.3 CE GA4
                  7.1.X
                  Master