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

Console should provide new property information the user when properties have been modularized

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Portal Configuration
    • Labels:
      None

      Description

      Summary
      Unhelpful output provided when portal properties are modularized. The user is not informed of the new property name. The user is also not informed that the property is now reset to the default value, until it is set again with the new property.

      Example:
      Original Portal Property (before modularization, set in portal-ext.properties):

      blogs.image.max.size
      

      Message to users in console:

      ERROR [main][VerifyProperties:142] Portal property "blogs.image.max.size" was modularized to com.liferay.blogs.api as "blogs.image.max.size"
      

      Actual new property:

      imageMaxSize in com.liferay.blogs.configuration.BlogsFileUploadsConfiguration.config
      

      Partial Support is present

      The code requires parameters: oldKey, newKey, moduleName
      https://github.com/liferay/liferay-portal/blob/8b302b735b6ad41a2613fe502dab0e86834daa98/portal-impl/src/com/liferay/portal/verify/VerifyProperties.java#L200-L204

      However, none of the parameters set provide helpful values for "moduleName" and "newKey"

      See list of parameter values: https://github.com/liferay/liferay-portal/blob/8b302b735b6ad41a2613fe502dab0e86834daa98/portal-impl/src/com/liferay/portal/verify/VerifyProperties.java#L359

      Current way to find the new modularized properties
      Have access to the full source code for the module to find the Configuration classes and property strings.
      or
      Navigate to System Settings and export the needed configuration to see the new property names

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            victor.ware Victor Ware
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package