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

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7.2 [ 10130 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Fix Version/s 1.7.2 [ 10130 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: