[
https://issues.apache.org/jira/browse/WW-3511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maurizio Cucchiara updated WW-3511:
-----------------------------------
Attachment: WW-35111-1.patch
This patch sounds better, There is no reason to keep static debug variable.
> struts.devMode never set to true and never injected
> ---------------------------------------------------
>
> Key: WW-3511
> URL: https://issues.apache.org/jira/browse/WW-3511
> Project: Struts 2
> Issue Type: Bug
> Components: XML Configuration
> Affects Versions: 2.2.1
> Reporter: John Lindal
> Assignee: Lukasz Lenart
> Priority: Minor
> Attachments: WW-3511.patch, WW-35111-1.patch
>
>
> I add this to my struts.xml file:
> <constant name="struts.devMode" value="true" />
> but it has no effect. In
> org.apache.struts2.config.BeanSelectionProvider.register(),
> props.getProperty(StrutsConstants.STRUTS_DEVMODE) returns "false". In
> ParametersInterceptor, setDevMode() is never called. When I change
> ParametersInterceptor.setDevMode() to not be static, it is called, but the
> value passed is "false".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.