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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: