Uploaded image for project: 'Click'
  1. Click
  2. CLK-179

FileField configurations does not be applied

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      I know that this issue is explained in Javadoc - Context#getRequestParameter().
      Actually, irrelevant Controls to Form interfere in the processing of
      the multipart data.

      I want to expand the chance that FileField configurations is applied.
      Especially, when it wants to limit the data size by using the function of
      Commons FileUpload, I feel the necessity.

      ActionLink and ActionButton are sure to function only by HTTP GET Method
      if my understanding is correct.

      The attached patch is the one to fix to check whether the request is
      a Content-type "multipart/form-data" POST request, before
      Context#getRequestParameter is called in Action(Link|Button)#onProcess.

        Attachments

          Activity

            People

            • Assignee:
              medgar Malcolm Edgar
              Reporter:
              sadanori Sadanori Ito
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: