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

Document Library Upload causes JS error

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M2
    • Component/s: Documents & Media
    • Labels:
      None

      Description

      Trying to upload a document in Document Library portlet throws a JS error.

      Steps to reproduce:

      1. Add "Document Library" portlet
      2. Drag and drop a file to the "Document Library portlet"

      Expected Results:

      • File will be upload successfully or fail successfully

      Actual Results:

      • Browser throws a JS error
        instance.get(...).getFolderId is not a function

        Attachments

        1. fixed.png
          fixed.png
          35 kB
        2. preview.gif
          preview.gif
          644 kB
        3. reproduced.png
          reproduced.png
          23 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao
              Reporter:
              jonathan.mak Jonathan Mak
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 2 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 M2