Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 74157 invoked from network); 7 May 2006 06:11:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 May 2006 06:11:34 -0000 Received: (qmail 15862 invoked by uid 500); 7 May 2006 06:11:32 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 15468 invoked by uid 500); 7 May 2006 06:11:31 -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 15458 invoked by uid 99); 7 May 2006 06:11:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 May 2006 23:11:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 May 2006 23:11:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F28687142C6 for ; Sun, 7 May 2006 06:10:51 +0000 (GMT) Message-ID: <13346185.1146982251990.JavaMail.jira@brutus> Date: Sun, 7 May 2006 06:10:51 +0000 (GMT+00:00) From: "Don Brown (JIRA)" To: issues@struts.apache.org Subject: [jira] Resolved: (STR-2809) ImportAttribute does not import all attribute with ignore=true MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/struts/browse/STR-2809?page=all ] Don Brown resolved STR-2809: ---------------------------- Fix Version: 1.3.3 Resolution: Fixed Assign To: Don Brown (was: Struts Developer Mailing List) Makes sense to me. Please close if this fixes your problem. > ImportAttribute does not import all attribute with ignore=true > --------------------------------------------------------------- > > Key: STR-2809 > URL: http://issues.apache.org/struts/browse/STR-2809 > Project: Struts Action 1 > Type: Bug > Components: Tiles > Versions: 1.2.8 > Environment: Operating System: other > Platform: Other > Reporter: Andrzej Turowski > Assignee: Don Brown > Fix For: 1.3.3 > > If we have a list of attribute and a null value is encountered SKIP_BODY is > returned and other attributes are not imported into the pageContext. > I think we need to take out the else clause? > public int doStartTag() throws JspException > .... > .... > if( value == null ) { > if(!isErrorIgnored) > throw new JspException ( "Error - tag importAttribute : property '"+ > name + "' has a value of 'null'" ); > else > return SKIP_BODY; > } > should become > if( value == null ) { > if(!isErrorIgnored) > throw new JspException ( "Error - tag importAttribute : property '"+ > name + "' has a value of 'null'" ); > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira