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

Portal Properties are getting overrides by the OSGI configurations

    Details

    • Fix Priority:
      5

      Description

      Steps to reproduce:

      1. Create a file in LIFERAY_HOME/osgi/configs/ with the following name and content:
        com.liferay.journal.configuration.JournalServiceConfiguration.config
        articleCommentsEnabled=B"true"
        
      2. Set property in portal-ext.properties
        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

      Expected result:
      "Article Comments Enabled" is unchecked (false).
      Also, this message is displayed. "Set this to true to enable comments for journal articles. This field has been set by a portal property and cannot be changed here."

      Actual result:
      "Article Comments Enabled" is checked (true).

        Attachments

          Activity

            People

            Assignee:
            koor.gai Koor Gai
            Reporter:
            koor.gai Koor Gai
            Participants of an Issue:
            Recent user:
            Koor Gai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              12 weeks, 4 days ago

                Packages

                Version Package
                Master