Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-2627

Upload restlets that use RestletFileUpload fails on 5.2 after Seam 2.x migration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2 M3
    • Component/s: Seam / JSF UI

      Description

      Seam 2 introduce a MultiPart filter that is automatically stacked in Seam internal filter chain.
      This filter eats all the binary data and make them available in the MultipartRequest Seam class.

      Because of that filter, any call to Apache FileUpload, or RestletFileUpload will return a null file.

      Solution is to include a new Helper class in ui-web that will provide an encapsulation :

      • 5.2 version will use the implementation based on Seam MultipartRequest
      • 5.1 version will use the implementation based on Apache FileUpload

      Commited in a branch because I need branch NXP-1085 to be merged before.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: