From dev-return-84118-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Wed Jan 25 14:55:40 2006 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 60672 invoked from network); 25 Jan 2006 14:55:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jan 2006 14:55:39 -0000 Received: (qmail 11817 invoked by uid 500); 25 Jan 2006 14:55:34 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 11622 invoked by uid 500); 25 Jan 2006 14:55:33 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 11476 invoked by uid 99); 25 Jan 2006 14:55:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2006 06:55:32 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 8B93C180 for ; Wed, 25 Jan 2006 15:55:11 +0100 (CET) Message-ID: <214686940.1138200911569.JavaMail.jira@ajax.apache.org> Date: Wed, 25 Jan 2006 15:55:11 +0100 (CET) From: =?UTF-8?Q?J=C3=B6rg_Heinicke_=28JIRA=29?= To: dev@cocoon.apache.org Subject: [jira] Aktualisiert: (COCOON-1725) Unexpected attempt to read values of JavaBean while saving form In-Reply-To: <62514195.1135618111120.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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/jira/browse/COCOON-1725?page=3Dall ] J=C3=B6rg Heinicke updated COCOON-1725: ---------------------------------- > Unexpected attempt to read values of JavaBean while saving form > --------------------------------------------------------------- > > Key: COCOON-1725 > URL: http://issues.apache.org/jira/browse/COCOON-1725 > Project: Cocoon > Type: Bug > Components: Blocks: Forms > Versions: 2.1.8 > Reporter: Grzegorz Kossakowski (aka g[R]eK) > Priority: Minor > > Problem lays in org.apache.cocoon.forms.binding.ValueJXPathBinding.doSave= at line 123: > Object oldValue =3D jxpc.getValue(this.xpath); //line 123 > if (getLogger().isDebugEnabled()) { > getLogger().debug("value=3D " + value + "-- oldvalue=3D" + ol= dValue); > } > This is for debugging purpose and it's quite handy but if there is no get= method in bean exception org.apache.commons.jxpath.JXPathException: No rea= d method will be thrown and binding will be interrupted. It will try to rea= d value even @direction=3D"save" is set. > I think it is not valid to require read method while it is excplicitly st= ressed the direction of binding. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira