Michael Moossen created MYFACES-3632:
----------------------------------------

             Summary: resource bundle name with bean property collition when 
trying to set value
                 Key: MYFACES-3632
                 URL: https://issues.apache.org/jira/browse/MYFACES-3632
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 2.0.9
            Reporter: Michael Moossen


http://stackoverflow.com/questions/12951850/richtabpanel-does-not-work-with-textarea

The point is that my property is named 'text', and i have also a resource 
bundle called 'text'. Additionally in the javax.el.CompositeELResolver the 
org.apache.myfaces.el.unified.resolver.ResourceBundleResolver is before the 
javax.el.BeanELResolver.

And the 
org.apache.myfaces.el.unified.resolver.ResourceBundleResolver.setValue(ELContext
 context, Object base, Object property, Object value) method does NOT check the 
base object and just looks for a resource bundle named as the property, in my 
case it finds something and peng! Exception!

It should check (base != null) and just leave.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to