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

fileUpload: js events for error not trigger when same file selected twice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.11
    • Fix Version/s: 4.5.16
    • Component/s: None
    • Labels:
      None
    • Environment:

      IE11 and Chrome

    • Steps to Reproduce:
      Hide

      1. Open showcase for rich:fileUpload (http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=fileUpload).
      2. Select file which is not an image (f.e PDF) -> js alert appears
      3. Select the same file again -> nothing happens

      Show
      1. Open showcase for rich:fileUpload ( http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=fileUpload ). 2. Select file which is not an image (f.e PDF) -> js alert appears 3. Select the same file again -> nothing happens

      Description

      The problem concerns at least:
      onsizerejected
      ontyperejected

      probably also onError.

      Problem does NOT appear on Firefox.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                emkas Emil S
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: