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

Changed default instance name can be updated if overriding include-and-override

    Details

      Description

      PropsHelperUtil.isCustomized is based on the assumption that PropsUtil.getArray will return, as an array, every value assigned to include-and-override. But if property values are split across different property files, as when using portal-developer.properties file that's not true, since CompositeConfiguration will only return the occurrences found in a single file.

       

      Steps to Reproduce:

      1. In a master-private portal set in portal-ext.properties the following property:
        include-and-override=portal-developer.properties
      1. In portal-setup-wizard set the following property:
        company.default.name=Name
      1. Change from the administration panel the default instance name to "Name".
      2. Restart the server.

       

      Expected Result:

      The changed instance name after the restart should remain.

       

      Actual Result:

      The changed instance name gets changed back to "Liferay DXP" after the restart.

        Attachments

          Activity

            People

            Assignee:
            chao.wang Chao Wang
            Reporter:
            mariano.alvaro Mariano Álvaro
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Victor Ware
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              14 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP93
                7.0.10.14 DXP SP14
                7.0.X
                7.1.10 DXP FP18
                7.1.X
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.1 CE GA2
                7.3.2 CE GA3
                7.3.10 DXP GA1
                Master