From issues-return-5786-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Wed Jul 04 20:43:58 2007 Return-Path: Delivered-To: apmail-struts-issues-archive@locus.apache.org Received: (qmail 39301 invoked from network); 4 Jul 2007 20:43:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jul 2007 20:43:55 -0000 Received: (qmail 39298 invoked by uid 500); 4 Jul 2007 20:43:52 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 39205 invoked by uid 500); 4 Jul 2007 20:43:52 -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 39168 invoked by uid 99); 4 Jul 2007 20:43:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 13:43:51 -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; Wed, 04 Jul 2007 13:43:48 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B6406714229 for ; Wed, 4 Jul 2007 13:43:27 -0700 (PDT) Message-ID: <11470403.1183581807744.JavaMail.jira@brutus> Date: Wed, 4 Jul 2007 13:43:27 -0700 (PDT) From: "Rene Gielen (JIRA)" To: issues@struts.apache.org Subject: [jira] Assigned: (WW-1993) Unable to submit lists without a conversion.properties file In-Reply-To: <1454396.1181835867158.JavaMail.jira@brutus> 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/WW-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rene Gielen reassigned WW-1993: ------------------------------- Assignee: Rene Gielen > Unable to submit lists without a conversion.properties file > ----------------------------------------------------------- > > Key: WW-1993 > URL: https://issues.apache.org/struts/browse/WW-1993 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.8 > Environment: Mac OSX 10.4.9, Java 1.5.0_07-87, Tomcat 5.5.20 > Reporter: Adam Ruggles > Assignee: Rene Gielen > Priority: Minor > > My Form looks like this: >
> > > > > > > ... > ... >
> My Action looks like this > /** > * A list of Invoices. > */ > private List invoices; > /** > * Sets invoices. > * @param invoices The invoices to set. > */ > public void setInvoices(final List invoices) { > this.invoices = invoices; > } > In struts 2.0.6 the form submits and works like expected. In struts 2.0.8 I get a null pointer when trying to access invoices in my action (basically it's not coming over). I've changed nothing but the struts. > Adding a conversion.properties file allowed me to submit the form successfully. According to the docs and previous versions of struts and webwork the Generics definition of Invoice should have been sufficient. Adding the new Element annotation did not solve the issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.