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

Item Selector Criteria cannot be extracted from the Item Selector URL

    Details

      Description

      LPS-102346 introduced shorter Item Selector URLs. The Item Selector Criteria are no more stored in the URL as a parameter, but rather as part of the route. For example:
      http://localhost:8080/group/guest/~/control_panel/manage/-/select/file%2Clayout/_com_liferay_wiki_web_portlet_WikiAdminPortlet_contentEditorselectItem?p_p_auth=ZKd4GtYb&_com_liferay_item_selector_web_portlet_ItemSelectorPortlet_0_json=%7B%22desiredItemSelectorReturnTypes%22%3A%22com.liferay.item.selector.criteria.URLItemSelectorReturnType%22%7D

      Here, the criteria is the file%2Clayout part (encoded from file,layout)
      Currently, ItemSelectorImpl.getItemSelectorCriteria(String itemSelectorURL) cannot extract the criteria from the URL as it assumes that they are stored as parameters.

      Item Selector Criteria cannot be extracted from the Item Selector URL.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alejandro.tardin Alejandro Tardín
              Reporter:
              istvan.dezsi Istvan Dezsi
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                21 weeks, 2 days ago

                  Packages

                  Version Package
                  7.3.4 CE GA5
                  7.3.10 DXP GA1
                  Master