You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/10/31 03:23:19 UTC

svn commit: r329709 - /myfaces/impl/trunk/src/java/org/apache/myfaces/el/ValueBindingImpl.java

Author: mmarinschek
Date: Sun Oct 30 18:23:15 2005
New Revision: 329709

URL: http://svn.apache.org/viewcvs?rev=329709&view=rev
Log:
fix for MYFACES-686

Modified:
    myfaces/impl/trunk/src/java/org/apache/myfaces/el/ValueBindingImpl.java

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/el/ValueBindingImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/el/ValueBindingImpl.java?rev=329709&r1=329708&r2=329709&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/el/ValueBindingImpl.java (original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/el/ValueBindingImpl.java Sun Oct 30 18:23:15 2005
@@ -154,8 +154,11 @@
         }
         catch (Exception e)
         {
-            // Cannot determine read-only, return false (is this what the spec requires?)
-            return false;
+            log.info("Exception while determining read-only state of value-binding : "+_expressionString);
+            // Cannot determine read-only, return true
+            // (todo: is this what the spec requires,
+            // MYFACES-686 suggests using true due to problems with alias bean?)
+            return true;
         }
     }