Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-398

Extension filter misconfigured causes no warning.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.1
    • 1.1.2
    • File Upload
    • None
    • Windows 2000, Tomcat 5.0.28

    Description

      If no extension filter is configured in web.xml or if extension filter is misconfigured there are SILENT fails of inputFileUpload.
      In my web.xml the extension filter is not configured, the file is not assigned but nothing is logged about this situation. In fact the method
      public void setUploadedFile(UploadedFile file)

      {...}

      in my backing bean is silently skipped.
      Is it possible to log some warning that help developpers in detecting this situation?

      Attachments

        Activity

          People

            Unassigned Unassigned
            conte_73 Gabriele Contini
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: