Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13697

fileupload: maxFilesQuantity + multiple select: can upload more files than the limit

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.0.Alpha2, 5.0.0.Alpha3
    • Fix Version/s: 4.5.0.Alpha3
    • Component/s: component-input
    • Labels:
      None
    • Environment:

      Tried on EAP 6.3.0.ER8, FF 30

    • Steps to Reproduce:
      Hide
      1. deploy Metamer and open http://localhost:8080/metamer/faces/components/richFileUpload/simple.xhtml
      2. set @maxFilesQuantity to 2
      3. add one file
      4. add two files (with multiple select)
      • expected: only one file is added (to the limit of @maxFilesQuantity)
      • have: all files up to @maxFilesQuantity are added (in this case 2)
      Show
      deploy Metamer and open http://localhost:8080/metamer/faces/components/richFileUpload/simple.xhtml set @maxFilesQuantity to 2 add one file add two files (with multiple select) expected: only one file is added (to the limit of @maxFilesQuantity) have: all files up to @maxFilesQuantity are added (in this case 2)

      Description

      Can add more files than @maxFilesQuantity to upload when using multiselect after some files have been added before. See steps to reproduce.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                jstefek Jiří Štefek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: