Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3511

struts.devMode never set to true and never injected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.2.1
    • None
    • XML Configuration
    • None

    Description

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

      Attachments

        1. WW-35111-1.patch
          2 kB
          Maurizio Cucchiara
        2. WW-3511.patch
          1 kB
          Maurizio Cucchiara

        Activity

          People

            lukaszlenart Lukasz Lenart
            jafl5272 John Lindal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: