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 D132E104FE for ; Tue, 11 Feb 2014 13:21:21 +0000 (UTC) Received: (qmail 29108 invoked by uid 500); 11 Feb 2014 13:21:21 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 28990 invoked by uid 500); 11 Feb 2014 13:21:20 -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 28979 invoked by uid 99); 11 Feb 2014 13:21:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Feb 2014 13:21:20 +0000 Date: Tue, 11 Feb 2014 13:21:19 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4288) staticParams interceptor overwrites params conversion errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897834#comment-13897834 ] Lukasz Lenart commented on WW-4288: ----------------------------------- How WW-3760 broke this? https://fisheye6.atlassian.com/viewrep/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java?r1&r2=1292259 > staticParams interceptor overwrites params conversion errors > ------------------------------------------------------------ > > Key: WW-4288 > URL: https://issues.apache.org/jira/browse/WW-4288 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors > Affects Versions: 2.3.15.3 > Reporter: Jasper Rosenberg > Fix For: 2.3.x > > > Have a stack like: > ... > > > ... > > If have type conversion errors in params, they aren't seen by the conversionError interceptor. > It looks like this in StaticParametersInterceptor: > {code:java} > if (clearableStack && (stack.getContext() != null) && (newStack.getContext() != null)) > stack.getContext().put(ActionContext.CONVERSION_ERRORS, newStack.getContext().get(ActionContext.CONVERSION_ERRORS)); > {code} > ends up just overwriting the old value of ActionContext.CONVERSION_ERRORS rather than merging. -- This message was sent by Atlassian JIRA (v6.1.5#6160)