Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-1
-
Fix Version/s: 1.0-beta-1
-
Component/s: nanowar
-
Labels:None
-
Number of attachments :
Description
Storing reference to request level container in HttpServletRequest
obtained from ServletActionContext is really uncool, because it's not guaranted that servlet request is there.
Webwork actions can be invoked in tests, and fail with NPE
( well, there is not HTTPRequest around... )
I think request level container shall be stored on ActionContext...
Issue Links
- is duplicated by
-
NANOWAR-1 XWork integration that WebWork integrations builds on.
-
Activity

Field | Original Value | New Value |
---|---|---|
Attachment | ActionContextScopeObjectReference.java [ 11485 ] |

Attachment | afactory.diff [ 11486 ] |



Assignee | Konstantin Pribluda [ ko5tik ] |

Component/s | webwork [ 10641 ] | |
Fix Version/s | 1.0-beta-1 [ 10147 ] | |
Component/s | servlet [ 10682 ] |

Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
I propose doing like webwork does - fallback to ActionContext if there is no request.
Attachments follow