[ http://issues.apache.org/jira/browse/MYFACES-686?page=all ]
     
Martin Marinschek closed MYFACES-686:
-------------------------------------

    Fix Version: Nightly
     Resolution: Fixed
      Assign To: Martin Marinschek

Ok, I try setting it to true. Let's see if that works fine.

regards,

Martin

> ValueBindingImpl.isReadOnly() delivers false when an Exception is thrown, why?
> ------------------------------------------------------------------------------
>
>          Key: MYFACES-686
>          URL: http://issues.apache.org/jira/browse/MYFACES-686
>      Project: MyFaces
>         Type: Bug
>   Components: Implementation
>     Versions: Nightly
>     Reporter: Stefan Betermieux
>     Assignee: Martin Marinschek
>      Fix For: Nightly

>
> Hi,
> why is the general exception at the end of isReadOnly a reason to return 
> false?
> Because of some other problems with an alias bean with a read only value 
> binding (which I am still investigating), the holder bean is already set to 
> null, but LifecycleImpl.recursivelyHandleComponentReferencesAndSetValid() 
> calls isReadOnly() before it tries to set the value binding, which results in 
> a fine NullPointerException if isReadOnly() returns false. There is a comment 
> next to the return statement: "Cannot determine read-only, return false (is 
> this what the spec requires?)"  whch I would like to bring back into 
> discussion ;-) 
> Stefan  

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

Reply via email to