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

Images have to be selected twice in order for item selector to disappear from image fragment

    Details

      Description

      There are a few issues here, but I am lumping them together because they are related to the item selector and might have the same root cause.

      Steps to reproduce:

      1. Add a blank page
      2. Add an Image fragment to the page
      3. Double click the fragment to add an image
      4. Upload an image (or select an available one)

      Expected result:
      Item selector disappears and image is displayed on the fragment.

      Actual result:
      YG9GFfT4X7.mp4

      Issue 1:
      Item selector disappears but then comes back again. This loop continues for any picture selected unless the original picture is selected again. No errors are thrown.

      Issue 2:
      Once out of the item selector, if the user clicks the "Clear" button the image URL disappears (expected) but the item selector pops up again.

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7.
      Portal master-private da23ec114d56d3d2e42c23606b0e8fc847b9332a
      Tested on Chrome 84, Firefox 79, and Edge

      Not reproducible on master 04facaa65725e1e4fe2f96febefa79ebfa893058 (see LPS-111863)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              austin.chiang Austin Chiang
              Participants of an Issue:
              Recent user:
              Austin Chiang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 5 days ago

                  Packages

                  Version Package
                  7.3.X
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master