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

fileUpload: custom progressBar is used only for the first item when uploading multiple items

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.12
    • Fix Version/s: 4.5.13
    • Component/s: component-input
    • Labels:
      None
    • Environment:

      Firefox 42, Chrome 47, IE 10 + 11

    • Steps to Reproduce:
      Hide

      It can be reproduced in Metamer. However the size of uploaded files can be only less than 20kB by default, so the progressBar can show/hide in blink of an eye, so setting and watching execution of @onfinish attribute of the custom progressBar can help.

      1. deploy Metamer and open http://localhost:8080/metamer/faces/components/richFileUpload/progressFacet.xhtml?atts=%7B%22onfinish%22:%22alert('onfinish%20of%20custom%20progressbar%20was%20triggered')%22%7D (will set the @onfinish function of custom progressBar to an alert).
      2. add multiple files (size < 20 kB) (at once or one by one, it does not matter)
      3. upload
        • have: only one alert will be displayed
        • expected: alert for each uploaded file
      Show
      It can be reproduced in Metamer. However the size of uploaded files can be only less than 20kB by default, so the progressBar can show/hide in blink of an eye, so setting and watching execution of @onfinish attribute of the custom progressBar can help. deploy Metamer and open http://localhost:8080/metamer/faces/components/richFileUpload/progressFacet.xhtml?atts=%7B%22onfinish%22:%22alert('onfinish%20of%20custom%20progressbar%20was%20triggered')%22%7D (will set the @onfinish function of custom progressBar to an alert). add multiple files (size < 20 kB) (at once or one by one, it does not matter) upload have: only one alert will be displayed expected: alert for each uploaded file

      Gliffy Diagrams

        Attachments

          Issue Links

            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: