Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3632

resource bundle name with bean property collition when trying to set value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.9
    • 1.2.13, 2.0.16, 2.1.10
    • General
    • None

    Description

      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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            mmoossen Michael Moossen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: