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

Extension filter misconfigured causes no warning.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.2
    • Component/s: File Upload
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: