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

Exporting configurations from System Settings results in missing properties when deployed into osgi/configs

    Details

      Description

      Steps to Reproduce

      1. Startup Liferay
      2. Navigate to Control Panel > Configuration > System Settings > Comments
        1. Notice the value for: Email from Name
          ${server-property://com.liferay.portal/admin.email.from.name}
          
        2. Click Save
        3. Click the Triple Dot menu on the top-right
        4. Click Export
      3. Copy the exported config file: com.liferay.comment.configuration.CommentGroupServiceConfiguration.config to ${LIFERAY_HOME}/osgi/configs
      4. Wait ~10 seconds for Liferay to import the config file
      5. Navigate to Control Panel > Configuration > System Settings > Comments
        1. Notice the value for: Email from Name

      Expected Behavior:
      Value for Email from Name is

      ${server-property://com.liferay.portal/admin.email.from.name}
      

      Actual Behavior:
      Value for Email from Name is blank


      Alternative Steps to Reproduce
      1. Add the following line to your portal-ext.properties:

      discussion.email.body=${resource:email_templates/comment/discussion_email_body.tmpl}
      

      2. Place attached discussion_email_body.ympl in LIFERAY_HOME/TOMCAT_FOLDER/webapps/ROOT/WEB-INF/classes/email_templates/comment/ (folder must be created)
      3. Start bundle and go to Control Panel -> Configuration -> System settings -> Social -> Comments
      4. Change the value of property "Email Discussion Comment Added Body" to "${server-property://com.liferay.portal/discussion.email.body}" and save.
      5. Export this config and place the resulting config file into LIFERAY_HOME/osgi/configs folder.
      6. Restart the server and go to the same system configuration again.

      Expected behavior: Value of the property "Email Discussion Comment Added Body" is "${server-property://com.liferay.portal/discussion.email.body}".

      Experience behavior: Value of property is blank. (Actually all fields are blank)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  10 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP18
                  7.1.X
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.3 CE GA4
                  Master