Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49F6E102CF for ; Fri, 7 Feb 2014 03:07:37 +0000 (UTC) Received: (qmail 5761 invoked by uid 500); 7 Feb 2014 03:07:37 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 5096 invoked by uid 500); 7 Feb 2014 03:07:25 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 4783 invoked by uid 99); 7 Feb 2014 03:07:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2014 03:07:21 +0000 Date: Fri, 7 Feb 2014 03:07:21 +0000 (UTC) From: "wangzhenghang (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (WW-4285) ParametersInterceptor's isWithinLengthLimit method does not detect the devMode's value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 wangzhenghang created WW-4285: --------------------------------- Summary: ParametersInterceptor's isWithinLengthLimit method does not detect the devMode's value Key: WW-4285 URL: https://issues.apache.org/jira/browse/WW-4285 Project: Struts 2 Issue Type: Bug Affects Versions: 2.3.16 Reporter: wangzhenghang When the length of parameter name exceeds the paramNameMaxLength, notifyDeveloper method is invoked directly and devMode's value is ignored. So, this error log is printed as follow: [com.opensymphony.xwork2.interceptor.ParametersInterceptor] [Developer Notification (set struts.devMode to false to disable this message): Unexpected Exception caught setting '****' on 'class java.lang.String: 100] -- This message was sent by Atlassian JIRA (v6.1.5#6160)