ICEfaces
  1. ICEfaces
  2. ICE-10607

ace:fileEntry fails validation on JBoss EAP 6.3.0 when using "required" attribute with multiple="true"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.1.0.GA
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Jboss EAP 6.3.0 ace:fileEntry
    • Assignee Priority:
      P2

      Description

      Using showcase application the Overview example uses both multiple="true" attribute with required="true" and requiredMessage attributes.
      If you remove the multiple="true" and other multiple file upload attributes, and place a submit button on the form, the fileEntry uploads the file without any problem.
      However, with the multiple="true" and buttons which are part of this attribute on the component, the fileName is missing and it fails validation.
      Note that there are multiple Content-Dispostion: values submitted for each request and that one has an empty string or filename....for example...

      . ------WebKitFormBoundary7Juu0QI8HITmC6FJ
      . Content-Disposition: form-data; name="example-form:file-entry"; filename="Dill Pickle Rag.pdf"
      . Content-Type: application/pdf
      .
      .
      . ------WebKitFormBoundary7Juu0QI8HITmC6FJ
      . Content-Disposition: form-data; name="example-form:file-entry"; filename=""
      . Content-Type: application/octet-stream
      .
      ....
      this appears to work fine in all cases except when using multiple="true" on this particular application server.

      The FileEntryUpload then does not execute the captureFormField method at al ( still debugging that at the moment).

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Link This issue depends on ICE-10580 [ ICE-10580 ]
        Judy Guglielmin made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ]
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.GA [ 12171 ]
        Ken Fyten made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ] Mircea Toma [ mircea.toma ]
        Assignee Priority P2 [ 10011 ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: