ICEfaces
  1. ICEfaces
  2. ICE-6791

Cookieless mode causes inputFile to disappear on file upload

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P02
    • Fix Version/s: 1.8.3, EE-1.8.2.GA_P03
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Cookies disabled on server and browser. Tomcat: context.xml -> <Context cookies="false"/>
    • Workaround Exists:
      Yes
    • Workaround Description:
      When apps disable session cookies in their context.xml file, they should also set the com.icesoft.faces.forceLifecycleOnCallingThread context param to true. And possibly set their app to synchronous mode, since server push might depend on cookies.

      Description

      When cookies are disabled on the server and the browser the inputFile disappears when a file is uploaded. The file is saved properly and no errors are thrown. A refresh of the browser shows the component again.

      There is a difference in behavior depending on the browser and cookie settings.

      Firefox:
       - Cookies disabled on the server and browser: inputFile does not disappear on upload.
       - Cookies disabled on the severe but not on the browser: inputFile disappears on upload.

      IE:
       - Component disappears no matter what the browser cookies setting is.

        Issue Links

          Activity

          Arran Mccullough created issue -
          Arran Mccullough made changes -
          Field Original Value New Value
          Attachment Case9982Example.war [ 13107 ]
          Arran Mccullough made changes -
          Salesforce Case [5007000000G4vyg]
          Arran Mccullough made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Fix Version/s EE-1.8.2.GA_P03 [ 10251 ]
          Fix Version/s 1.8.3 [ 10211 ]
          Assignee Priority P2
          Assignee Ken Fyten [ ken.fyten ] Mark Collette [ mark.collette ]
          Ken Fyten made changes -
          Summary Cookieless mode cases inputFile to disappear on file upload Cookieless mode causes inputFile to disappear on file upload
          Arran Mccullough made changes -
          Link This issue depends on ICE-5871 [ ICE-5871 ]
          Ken Fyten made changes -
          Affects [Compatibility/Configuration]
          Mark Collette made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Mark Collette made changes -
          Workaround Description When apps disable session cookies in their context.xml file, they should also set the com.icesoft.faces.forceLifecycleOnCallingThread context param to true. And possibly set their app to synchronous mode, since server push might depend on cookies.
          Workaround Exists [Yes]
          Ken Fyten made changes -
          Resolution Won't Fix [ 2 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Priority P2 P1
          Ken Fyten made changes -
          Assignee Mark Collette [ mark.collette ] Ted Goddard [ ted.goddard ]
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Priority P1
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Affects [Compatibility/Configuration]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Ted Goddard
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: