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

Don't remove configurations we add "felix.fileinstall.filename" to

Details

    Description

      Currently we remove configurations from the db that were installed from a cfg if their cfg has been deleted. We can tell if a configuration has been installed by a cfg because of the "felix.fileinstall.filename" property. However, we also add this property to factory configurations made through the UI. This results in factory configurations being deleted on server restart if there is no corresponding cfg file. 

      Steps to reproduce:

      1. Go to System Settings > Any factory configuration (LDAP Import)
      2. Change any setting (Import Interval from 10 > 200)
      3. Restart portal

      Expected result: The setting is still changed (Import Interval = 200)

      Actual Result: The setting has been reset to its original value (Import Interval = 10)

      Attachments

        Issue Links

          Activity

            People

              summer.zhang Summer Zhang
              matthew.tambara Matthew Tambara (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 1 week, 6 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP33
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  Master