Affects Version/s: 7.2.X, Master
Steps to reproduce:
1. Create new wiki.
2. Add new page to the wiki.
3. Add another page to the wiki. This time, in the content field of the wiki, try to create a link, by selecting portion of text and then choosing link icon from popup.
4. In another popup that will open, choose 'browse' icon.
5. A popup opens with a list of all wiki pages in the current wiki
We can select a page and click 'add' - this will create a link to it in current page
The 'add' button is always disabled even if we select some page
LPS-102346 introduced shorter Item Selector URLs. The ItemSelectedEventName are no more stored in the URL as a parameter, but rather as part of the route. For example:
Here the _com_liferay_wiki_web_portlet_WikiAdminPortlet_contentEditorselectItem part is the ItemSelectedEventName.
Currently, ItemSelectorImpl.getItemSelectedEventName(String itemSelectorURL) cannot extract ItemSelectedEventName from the URL as it assumes that it is stored as a parameter.
Hence ItemSelectedEventName cannot be extracted from the Item Selector URL.