[ 
https://issues.apache.org/jira/browse/WW-3511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918979#action_12918979
 ] 

John Lindal commented on WW-3511:
---------------------------------

Thanks for the patch.  Yes, I noticed that removing static fixed the injection 
issue.

I'm quite sure that my struts.xml file is being loaded, because I can see all 
the other configuration being loaded when jboss starts up.  Can you provide any 
pointers to where I should look to debug further?

> 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
>
>
> 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.

Reply via email to