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
Konstantin Pribluda
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | ActionContextScopeObjectReference.java [ 11485 ] |
Konstantin Pribluda
made changes -
Attachment | afactory.diff [ 11486 ] |
Philipp Meier
made changes -
Aslak Hellesøy
made changes -
Konstantin Pribluda
made changes -
Assignee | Konstantin Pribluda [ ko5tik ] |
Konstantin Pribluda
made changes -
Component/s | webwork [ 10641 ] | |
Fix Version/s | 1.0-beta-1 [ 10147 ] | |
Component/s | servlet [ 10682 ] |
Konstantin Pribluda
made changes -
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
I propose doing like webwork does - fallback to ActionContext if there is no request.
Attachments follow