Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B67E0200B49 for ; Wed, 3 Aug 2016 10:41:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B513C160AAD; Wed, 3 Aug 2016 08:41:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 07AEE160A86 for ; Wed, 3 Aug 2016 10:41:21 +0200 (CEST) Received: (qmail 20173 invoked by uid 500); 3 Aug 2016 08:41:21 -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 20132 invoked by uid 99); 3 Aug 2016 08:41:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2016 08:41:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 74CD32C0059 for ; Wed, 3 Aug 2016 08:41:20 +0000 (UTC) Date: Wed, 3 Aug 2016 08:41:20 +0000 (UTC) From: "Greg Huber (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4676) ConversionErrorInterceptor to extend MethodFilterInterceptor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 03 Aug 2016 08:41:22 -0000 [ https://issues.apache.org/jira/browse/WW-4676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Huber updated WW-4676: --------------------------- Description: Would it be possible to modify the ConversionErrorInterceptor to extend MethodFilterInterceptor so I can exclude the validation on certain methods? ie cancel* It seems always to be called (needs to be like the validator/workflow) I have noticed that if I there is a conversion error on a screen and I return with a redirectAction (and the action has a STORE and the destination action has a RETRIEVE) the conversion error shows on the destination action screen. Although I still get in dev mode: Error setting expression 'bean.weight' with value ['gggg', ] as this comes from the params inteceptor (and I do not want to exclude this on my cancel), I guess we will have to live with this. was: Would it be possible to modify the ConversionErrorInterceptor to extend MethodFilterInterceptor so I can exclude the validation on certain methods? ie cancel* It seems always to be called (needs to be like the validator/workflow) I have noticed that if I there is a conversion error on a screen and I return with a redirectAction (and the action has a STORE and the destination action has a RETRIEVE) the conversion error shows on the destination action screen. although I still get in dev mode: Error setting expression 'bean.weight' with value ['gggg', ] as this comes from the params inteceptor (and I do not want to exclude this on my cancel), I guess we will have to live with this. > ConversionErrorInterceptor to extend MethodFilterInterceptor > ------------------------------------------------------------ > > Key: WW-4676 > URL: https://issues.apache.org/jira/browse/WW-4676 > Project: Struts 2 > Issue Type: Improvement > Components: Core Interceptors > Affects Versions: 2.5.2 > Reporter: Greg Huber > Priority: Minor > > Would it be possible to modify the ConversionErrorInterceptor to extend MethodFilterInterceptor so I can exclude the validation on certain methods? > ie > > cancel* > > It seems always to be called (needs to be like the validator/workflow) > I have noticed that if I there is a conversion error on a screen and I return with a redirectAction (and the action has a STORE and the destination action has a RETRIEVE) the conversion error shows on the destination action screen. > Although I still get in dev mode: > Error setting expression 'bean.weight' with value ['gggg', ] > as this comes from the params inteceptor (and I do not want to exclude this on my cancel), I guess we will have to live with this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)