Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3008

The "Progress" use-case of alloy:inputFile fails to upload files with Mojarra 2.3 in the alloy-showcase-portlet

    Details

      Description

      Steps to Reproduce:

      1. Deploy the alloy-showcase-portlet to Pluto 3.0 + Mojarra 2.3

      2. Visit the following URL:
      http://localhost:8080/pluto/portal/alloy-showcase

      3. Click on the "Input" category

      4. Click on the "alloy:inputFile" item

      5. Click on the "Progress" use-case

      6. Click on the "Choose Files..." button and choose 1 or more files

      7. Click on the "Upload Files" button

      Expected Result
      The uploaded files should appear in the list.

      Actual Result
      The uploaded files do not appear in the list, and the following JavaScript error appears in the console:

      Uncaught TypeError: Cannot read property 'get' of null
          at uploadAll (__rv0;ln:liferay-faces-alloy:94)
          at c.<anonymous> (__rv0;ln:liferay-faces-alloy:107)
          at e.Subscriber._notify (__rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:15)
          at e.Subscriber.notify (__rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:15)
          at e.CustomEvent._notify (__rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14)
          at e.CustomEvent._procSubs (__rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14)
          at e.CustomEvent.fireSimple (__rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14)
          at e.CustomEvent._fire (__rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14)
          at e.CustomEvent.fire (__rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14)
          at HTMLButtonElement.a.fn (__rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:21)
      uploadAll @ __rv0;ln:liferay-faces-alloy:94
      (anonymous) @ __rv0;ln:liferay-faces-alloy:107
      _notify @ __rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:15
      notify @ __rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:15
      _notify @ __rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14
      _procSubs @ __rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14
      fireSimple @ __rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14
      _fire @ __rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14
      fire @ __rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:14
      a.fn @ __rv0;ln:liferay-faces-alloy-reslib?build/array-extras/array-extras-min.js&build/aui-base-lang/aui-...:21
      

        Attachments

          Activity

            People

            Assignee:
            neil.griffin Neil Griffin
            Reporter:
            neil.griffin Neil Griffin
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                alloy-3.1.0