Search Insights widget "Copy to Clipboard" buttons not working on virtual instance

Fix Priority

4

Components

Affects versions

Git Pull Request

Description

Steps to reproduce:

  1. Create a new Virtual Instance

  2. Create a new Site

  3. Navigate to search page

  4. Add the "Search Insights" widget

  5. Execute a search

  6. Within the "Search Insights" widget, click on either of the "Copy to Clipboard" buttons

Actual results: Nothing is copied to the clipboard when either button is clicked. The following error is thrown in the browser console:

Reproduced on:
Portal master git commit 3668282bbc5d52631d59814ea4238bbc2adda30c
Google Chrome 101.0.4951.54 and Firefox 100.0.2

Activity

Show:

Joshua Chong June 14, 2022 at 3:36 PM

Testing PASSED following the steps in the description.

Tested on:
Portal master git commit 7da35466954c4ce150bef91bdc3adacc8bf280a4

Tibor Lipusz May 31, 2022 at 7:18 AM

I can also reproduce the problem when using a new Virtual Instance.

Joshua Chong May 27, 2022 at 4:32 PM

Hey , you're right! I was able to reproduce the issue on my local bundle while using a virtual instance, but it works fine when on the default instance. Also, I didn't know that our test server uses a virtual instance until now.

Former user May 27, 2022 at 2:55 PM

Was thinking this might share the same javascript issue as https://issues.liferay.com/browse/LPS-140041, and it seems to happen on virtual instances. We can work on adding a similar solution then!

Tibor Lipusz May 27, 2022 at 11:03 AM

Portal master git commit 3a27ddceddad5f251924ef7e6dcbbb03ef3c822d

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Zendesk Support

1

Created May 23, 2022 at 4:04 PM
Updated April 24, 2024 at 2:36 PM
Resolved June 9, 2022 at 7:03 PM