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

Asset Tag Selector doesn't pass specified groupIds attribute upstream

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.2.0 GA1
    • Fix Version/s: None
    • Component/s: ~[Archived] UI Taglibs
    • Labels:
      None

      Description

      If groupIds attribute is specified in <liferay-asset:asset-tags-selector/> tag, it is expected to become the part of the httpServletRequest. In e.g. AssetTagsSelectorDisplayContext is then retrieved using standard methods:

      _groupIds = StringUtil.split(ParamUtil.getString(_httpServletRequest, "groupIds"), 0L);

      However, this attribute is not passed (at least in 7.2 GA1), so default value is used instead

      _groupIds = new long[] {themeDisplay.getScopeGroupId()};

      If this component is used in a specific scope, there is no way to reuse global tags shared across the site as they become invisible and there is no way to override this behavior.

       

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            honyk Jan Tošovský
            Participants of an Issue:
            Recent user:
            Jan Tošovský
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              1 year, 25 weeks, 4 days ago

                Packages

                Version Package