ICEfaces
  1. ICEfaces
  2. ICE-894

ServletEnvironmentRequest inadvertently clears HttpServletRequest headers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6DR#4
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      This bug is related to ICE-893. When trying to get HttpServletRequest header
      information from a call to
      FacesContext.getCurrentInstance().getExternalContext().getRequest() the header
      information was always null. After tracing the problem from the stack trace
      the method copyServletRequestData() was copying the header information correctly
      then setting it to null for no apparent reason.

      As it turns out the logging api will only be invoked on action or action
      listeners so it will never acually access the header data via the
      ServletEnvironmentRequest object because it is only used by the
      PersistentFacesServlet .

        Activity

        Patrick Corless made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.6DR#4 [ 10060 ]
        Fix Version/s 1.6 [ 10031 ]
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Patrick Corless [ patrick.corless ]
        Ken Fyten made changes -
        Affects Version/s 1.5 [ 10027 ]
        Affects Version/s unspecified [ 10021 ]
        Icefaces Administrator made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 913 12163
        Patrick Corless created issue -

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: