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

Document Selection popup window from link in AlloyEditor shows JS error

Details

    Description

      Steps to reproduce

      1. Access Liferay in a non-Webkit browser (Firefox was used for this testing, but it is also reproducible on MS Edge and Internet Explorer).
      2. Add a document to the documents and media portlet with an image
      3. Go to Content --> Web Content and add a new basic web content.
      4. Enter the following information in the source view of the content

      <ul>
      <li><a href="http://www.google.com">abc def</a></li>
      <li><a href="http://www.google.com">ghi jkl</a></li>
      </ul>
      

      5. Go back to the text view and select one of the created links and click the folder icon
      6. Select one of the documents uploaded earlier and a window pops up

      Results of Testing

      Expected Results: You can select the add button in the popup window
      Actual Results: The add button does not work and produces a IndexSizeError: Index or size is negative or greater than the allowed amount error in the browser console.

      Attachments

        Issue Links

          Activity

            People

              raven.song Raven Song
              gregory.bretall Gregory Bretall (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 9 weeks, 5 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP60
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.10 DXP FP3
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master