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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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 -