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

When using the upload component in a form, a javascript exception is thrown

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.2.0 GA1
    • Fix Version/s: None
    • Component/s: Documents & Media, Forms
    • Labels:
    • Sprint:
      Forms_7.3_7

      Description

      Steps to reproduce:

      1. Create a form with an upload component
      2. Publish the form
      3. Add the form to a public page
      4. View the page, click "Select"
      5. Notice nothing happens, and there is an exception in the browser console
      document_library_field.js:54 Uncaught TypeError: Cannot read property 'createURL' of undefined
          at component.getDocumentLibrarySelectorURL (document_library_field.js:54)
          at component._handleSelectButtonClick (document_library_field.js:233)
          at component._handleButtonsClick (document_library_field.js:181)
          at Y_Node.<anonymous> (oop.js:403)
          at Y.Subscriber.delegate.notifySub [as _notify] (event-delegate.js:173)
          at Y.Subscriber.notify (event-custom-base.js:1335)
          at Y.CustomEvent._notify (event-custom-base.js:998)
          at Y.CustomEvent._procSubs (event-custom-base.js:1124)
          at Y.CustomEvent.fireSimple (event-custom-base.js:1091)
          at Y.CustomEvent._fire (event-custom-base.js:1073)
      

        Attachments

          Activity

            People

            Assignee:
            alex.candido Alex Candido
            Reporter:
            steven.smith Steven Smith (Inactive)
            Participants of an Issue:
            Recent user:
            Alex Candido
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 5 weeks, 4 days ago

                Packages

                Version Package