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

${server-property://... location variables should not render in the UI

    Details

      Description

      Since a single ${server-property://... variable can be used by multiple configurations to share a common value defined in 'portal.properties', we should avoid saving the resolved value to the database.

      Instead, we will save the variable to the database, and in the UI we will show the variable in the input, but also show the resolved value as help text if applicable. The admin can still update the value to be whatever they want.

      Steps to reproduce:

      1. Navigate to System Settings > 
      2. Web Content > 
      3. (Site Scope) Service

      Expected behavior: 

      • "Email from name" shows the server property variable:
        • ${server-property://com.liferay.portal/admin.email.from.name}
      • "Email Article Added Subject" shows the non-variable value:
        • [$PORTLET_NAME$]: Article Added for [$ARTICLE_ID$] [$ARTICLE_VERSION$]

      Actual behavior: 

      •  "Email from name" shows the variable value: Joe Bloggs
      •  "Email Article Added Subject" shows the non-variable value: [$PORTLET_NAME$]: Article Added for [$ARTICLE_ID$] [$ARTICLE_VERSION$]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sharry.shi Sharry Shi
                Reporter:
                drew.brokke Drew Brokke
                Participants of an Issue:
                Recent user:
                Sharry Shi
                Engineering Assignee:
                Drew Brokke
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  19 weeks, 5 days ago

                  Packages

                  Version Package
                  Master