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

New fields of upgraded configuration definition missing in System Settings

    Details

      Description

      Steps to reproduce using the Bookmarks service configuration as an example:

      1. Start portal with a clean DB
      2. Go to System Settings and locate the BookmarksGroupService
      3. Save the default values to DB, and leave browser open in this state
      4. Edit BookmarksGroupServiceConfiguration.java, adding a new field (public method)
      5. Compile/deploy the module (from /modules/apps/collaboration/bookmarks/bookmarks-api run "../../../../../gradlew clean deploy")
      6. Refresh browser

      Expected result: The new field is now visible
      Actual result: The new field is NOT visible

      1. Delete the saved configuration from the DB
      2. Restart portal
      3. Refresh browser (it will ask you to re-login and then return you to the Bookmarks service configuration)

      Assert that the new field is now visible. If it was not for the saved configuration, no restart would be necessary and the new field would appear immediate after deploying the module changes.

        Attachments

        1. fix.PNG
          fix.PNG
          25 kB
        2. reproduce.PNG
          reproduce.PNG
          43 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 5 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 CE GA1