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

Configuration file got updated/overwritten by the override property

    Details

    • Fix Priority:
      2

      Description

      Steps to produce:

      1. Create file in LIFERAY_HOME/osgi/configs/ with the following name and content:
        1. com.liferay.journal.configuration.JournalServiceConfiguration.config
          articleCommentsEnabled=B"true"
      2. Set property in portal-ext.properties
        1. configuration.overide.com.liferay.journal.configuration.JournalServiceConfiguration_articleCommentsEnabled=B"false"
      3. Start server
      4. Go to System Settings > Web Content > Virtual Instance scope > Web Content
      5. "Article Comments Enabled" is unchecked - matching the override value and can not changed
      6. Go to LIFERAY_HOME/osgi/configs/ and open this config file:
        com.liferay.journal.configuration.JournalServiceConfiguration.config

      Expected result:
      Config file value remained set as "true".

      Actual result:
      Config file value is updated to "false".

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            koor.gai Koor Gai
            Participants of an Issue:
            Recent user:
            Melody Wu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 week, 1 day ago

                Packages

                Version Package