ICEfaces
  1. ICEfaces
  2. ICE-3293

Seam - NPE and no facesMessage for fileupload component on upload of empty file

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.7.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Seam, standard request scope

      Description

      Changes to fileupload for 1.7.1 causes NPE for upload of empty file and the facesMessage for the invalid upload is not rendered.

      Fix to UploadServer (which uses PersistentFacesState.setupAndExecuteAndRender()) Since execute() and render() methods reset FacesContext at end of each of these methods you end up with null FacesContext. So....After performing the setupAndExecuteAndRender() must setCUrrent() again.

        Activity

        Hide
        Judy Guglielmin added a comment -

        1.7 branch revision 1.7.2 UploadServer
        trunk revision 17065 UploadServer

        Show
        Judy Guglielmin added a comment - 1.7 branch revision 1.7.2 UploadServer trunk revision 17065 UploadServer

          People

          • Assignee:
            Unassigned
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: