Hmm... maybe instead of using this switch, just log those messages in DEBUG only...
2016-11-15 10:33 GMT+01:00 Greg Huber <gregh3...@gmail.com>: > ParametersInterceptor ignores dmi?? > > protected boolean isAccepted(String paramName) { > AcceptedPatternsChecker.IsAccepted result = > acceptedPatterns.isAccepted(paramName); > if (result.isAccepted()) { > return true; > } > notifyDeveloper("Parameter [{}] didn't match accepted pattern > [{}]!", paramName, result.getAcceptedPattern()); > return false; > } > > private void notifyDeveloper(String message, String... parameters) { > if (devMode) { > LOG.warn(message, parameters); > } else { > LOG.debug(message, parameters); > } > } > > On 15 November 2016 at 09:21, Lukasz Lenart <lukaszlen...@apache.org> wrote: > >> but do you use DMI? I meant, did you enable DMI? >> >> 2016-11-14 12:43 GMT+01:00 Greg Huber <gregh3...@gmail.com>: >> > I do not know if its the snapshot version I now get lots of these in my >> > logs again >> > >> > 2016-11-14 11:39:45,621 WARN >> > com.opensymphony.xwork2.interceptor.ParametersInterceptor >> > ParametersInterceptor:notifyDeveloper - Parameter [action:myaction!save] >> > didn't match accepted pattern [[\w+((\.\w+)|(\[\d+\])|(\(\d+ >> > \))|(\['(\w|[\u4e00-\u9fa5])+'\])|(\('(\w|[\u4e00-\u9fa5])+'\)))*]]! >> > >> > Sure this was fixed on https://issues.apache.org/jira/browse/WW-4697 >> > >> > On 12 November 2016 at 16:52, Lukasz Lenart <lukaszlen...@apache.org> >> wrote: >> > >> >> Hi, >> >> >> >> I think we are good to go, 13 issues were resolved. Do you have >> >> anything else to be resolved beforehand? >> >> https://issues.apache.org/jira/issues/?jql=project%20% >> >> 3D%20WW%20AND%20fixVersion%20%3D%202.5.6 >> >> >> >> >> >> Regards >> >> -- >> >> Łukasz >> >> + 48 606 323 122 http://www.lenart.org.pl/ >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org >> >> For additional commands, e-mail: dev-h...@struts.apache.org >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org >> For additional commands, e-mail: dev-h...@struts.apache.org >> >> -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org