struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johno Crawford (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4264) notifyDeveloper method logs error even when devMode is set false
Date Fri, 27 Dec 2013 14:33:52 GMT

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

Johno Crawford commented on WW-4264:
------------------------------------

Yep. Java will always select the most suitable method signature, variable arguments are lowest
priority. Additionally the first param in the isWithinLengthLimit notifyDeveloper call is
a debug message not an actual action but since Object is used String can be used.

> notifyDeveloper method logs error even when devMode is set false
> ----------------------------------------------------------------
>
>                 Key: WW-4264
>                 URL: https://issues.apache.org/jira/browse/WW-4264
>             Project: Struts 2
>          Issue Type: Bug
>            Reporter: Johno Crawford
>            Assignee: Bruce Phillips
>            Priority: Minor
>         Attachments: WW-4264.patch
>
>
> notifyDeveloper(Object action, String property, String message) is called from com.opensymphony.xwork2.interceptor.ParametersInterceptor#acceptableName
without checking devMode boolean.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message