From issues-return-4585-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Wed Mar 21 06:01:16 2007 Return-Path: Delivered-To: apmail-struts-issues-archive@locus.apache.org Received: (qmail 84695 invoked from network); 21 Mar 2007 06:01:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 06:01:15 -0000 Received: (qmail 59488 invoked by uid 500); 21 Mar 2007 06:01:20 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 59451 invoked by uid 500); 21 Mar 2007 06:01: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 59438 invoked by uid 99); 21 Mar 2007 06:01:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2007 23:01:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2007 23:01:11 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 685B0714070 for ; Tue, 20 Mar 2007 23:00:51 -0700 (PDT) Message-ID: <27571626.1174456851424.JavaMail.jira@brutus> Date: Tue, 20 Mar 2007 23:00:51 -0700 (PDT) From: "Henri Yandell (JIRA)" To: issues@struts.apache.org Subject: [jira] Closed: (STR-2802) Validator validwhen :Cannot make dependance between two different index in an Array MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/STR-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell closed STR-2802. ------------------------------ Resolution: Fixed Fix Version/s: 1.4.0 Assignee: (was: Struts Developers) svn ci -m "Fixing STR-2802 by removing the unnecessary LBRACKET. Test now passes and I don't understan d what the LBRACKET would have been there for so I think it was just an error that's been in there forever and ever. " src/ Sending src/main/java/org/apache/struts/validator/validwhen/ValidWhenParser.g Sending src/main/java/org/apache/struts/validator/validwhen/ValidWhenParser.java Transmitting file data .. Committed revision 520763. > Validator validwhen :Cannot make dependance between two different index in an Array > ----------------------------------------------------------------------------------- > > Key: STR-2802 > URL: https://issues.apache.org/struts/browse/STR-2802 > Project: Struts 1 > Issue Type: Bug > Components: Core > Affects Versions: 1.2.8 > Environment: Operating System: Windows 2000 > Platform: PC > Reporter: Oudot Christophe > Fix For: 1.4.0 > > > This code in the validator.xml fails with this error : "unexpected token adr.." > > > > test > ((*this*!=null) or (adr[1] != null )) > > > adr is an array of two adress lines. Only one of them needs tobe filled. > According to the document of the validator, it should work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.