[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-dev
Subject:    [jira] Created: (COCOON-1725) Unexpected attempt to read values of JavaBean while saving form
From:       "g[R]eK (JIRA)" <jira () apache ! org>
Date:       2005-12-26 17:28:31
Message-ID: 62514195.1135618111120.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

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: g[R]eK
    Priority: Minor


Problem lays in org.apache.cocoon.forms.binding.ValueJXPathBinding.doSave at line \
123:  Object oldValue = jxpc.getValue(this.xpath); //line 123
        if (getLogger().isDebugEnabled()) {
            getLogger().debug("value= " + value + "-- oldvalue=" + oldValue);
        }

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 read method will be \
thrown and binding will be interrupted. It will try to read value even \
@direction="save" is set.

I think it is not valid to require read method while it is excplicitly stressed the \
direction of binding.

-- 
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic