Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 68207 invoked from network); 15 Jul 2007 01:37:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2007 01:37:27 -0000 Received: (qmail 15625 invoked by uid 500); 15 Jul 2007 01:37:28 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 15557 invoked by uid 500); 15 Jul 2007 01:37:27 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 15546 invoked by uid 99); 15 Jul 2007 01:37:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jul 2007 18:37:27 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Sat, 14 Jul 2007 18:37:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B26367141FE for ; Sat, 14 Jul 2007 18:37:04 -0700 (PDT) Message-ID: <9885505.1184463424727.JavaMail.jira@brutus> Date: Sat, 14 Jul 2007 18:37:04 -0700 (PDT) From: "Niall Pemberton (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (BEANUTILS-35) Indexed properties with Array type cause IllegalArgumentException in setProperty/populate 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/jira/browse/BEANUTILS-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton updated BEANUTILS-35: ------------------------------------- Comment: was deleted > Indexed properties with Array type cause IllegalArgumentException in setProperty/populate > ----------------------------------------------------------------------------------------- > > Key: BEANUTILS-35 > URL: https://issues.apache.org/jira/browse/BEANUTILS-35 > Project: Commons BeanUtils > Issue Type: Bug > Components: Bean / Property Utils > Affects Versions: 1.7.0 > Environment: Operating System: All > Platform: All > Reporter: David Wood > Assignee: Niall Pemberton > Fix For: 1.8.0 > > Attachments: ArrayIndexedProperty.patch, beanutils-indexed-arrays.patch > > > If you attempt: > public String[] getIndexedArrayProperty(int index) > public void setIndexedArrayProperty(int index,String newvalue[]) > ...this will fail with an IllegalArgumentException in PropertyUtilsBean, because > setProperty will decide to store the first element of the newvalue array rather > than the whole array. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org