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

The loading animation in the item selector preview should time out if an invalid URL is entered

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Item Selector
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Currently, if a user adds any invalid URL in the item selector the image preview will keeping loading indefinitely, even though 404 errors appear in the browser console. We should add a timeout message to give closure to the end user that an invalid resource is being fetched.

      Steps to reproduce:

      1. Navigate to Blogs > Content field > Add image
      2. Navigate to URL tab
      3. Type an invalid link, like "test"

      Expected result:
      The loading animation, if it appears, should time out after some set time.

      Actual result:
      It does not time out.

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7.
      Portal master 24abb31d547d57577ef044ea0b3bdcaa121f9967

        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:
                  24 weeks, 1 day ago

                  Packages

                  Version Package
                  Master