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

DefaultScope in AssetPublisher preferences should be as boolean type

    Details

      Description

      In asset publisher, I found if only one scope (layout_1) is chose, the value of defaultscope is set to layout_1. If there are multiple scopes are chose, the defaultScope = false and scopeIds gets all scope values.

      It is even confusing in getGroupIds method of AssetPublisherUtil.java, the value of defaultScope in portletPreferences is passing to defaultScopeId and defaultScopeId could be true and false which should be scopes' id in the literal sense.

      It will be more clear to confine the value of defaultScope as boolean and let scopeIds store all the scopes' id.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julio.camarero Julio Camarero
                Reporter:
                sherry.yang Sherry Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Subcomponents