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

alloy:inputFile and bridge:inputFile use-cases do not check the uploaded file status

Details

    Description

      Steps to Reproduce:

      1. Deploy showcase-portlet.war to Liferay Portal

      2. Visit the Multiple Use-Case for bridge:inputFile and also the Preview Use-Case for alloy:inputFile

      3. In both use-cases, try to upload 2 or more files, one of which is a file with zero bytes in length

      If the bug is fixed, then only the valid files should appear in the Model Value. In addition, an error message should appear in the console log.

      If the bug still exists, then the zero-length file will incorrectly appear in the Model Value.

      Attachments

        Activity

          People

            neil.griffin Neil Griffin
            neil.griffin Neil Griffin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                liferay-faces-2.1.5-ga6
                liferay-faces-2.2.5-ga6
                liferay-faces-3.0.5-legacy-ga6
                liferay-faces-3.0.5-ga6
                liferay-faces-3.1.5-ga6
                liferay-faces-3.2.5-ga6
                liferay-faces-4.2.5-ga6