Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-1529

File Upload request not recognized as an Ajax request in PrimeFaces 3.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.1
    • Component/s: JSF
    • Labels:
      None

      Description

      After file upload listener is executed, status code 302 is returned instead of 200. As a result, a redirect occurs and an additional full GET request is triggered. There should be only one partial request with 200 status code returned.

      I have pushed a SWF-1482-primefaces project to github and sent a pull request: https://github.com/SpringSource/spring-webflow-issues/pull/3

      The list of modified/added files when compared to SWF-0000-primefaces:
      web.xml - added PrimeFaces file upload filter;
      pom.xml - changed the version of PrimeFaces to 3.2, added commons-fileupload and commons-io dependencies;
      JSF and XML files under myflow were modified;
      FileUploadBean.java was added.

        Attachments

          Activity

            People

            Assignee:
            rstoya05-aop Rossen Stoyanchev
            Reporter:
            gene Gene Hazan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: