Details
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 .
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
Field | Original Value | New Value |
---|---|---|
issue.field.bugzillaimportkey | 913 | 12163 |
Affects Version/s | 1.5 [ 10027 ] | |
Affects Version/s | unspecified [ 10021 ] |
Assignee | Ted Goddard [ ted.goddard ] | Patrick Corless [ patrick.corless ] |
Fix Version/s | 1.6DR#4 [ 10060 ] | |
Fix Version/s | 1.6 [ 10031 ] |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
icefaces.org can use a modified post-release build. Recommend we address later.