myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (EXTSCRIPT-121) removing an annotated managed property causes an error
Date Tue, 20 Apr 2010 11:19:50 GMT

     [ https://issues.apache.org/jira/browse/EXTSCRIPT-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Werner Punz resolved EXTSCRIPT-121.
-----------------------------------

    Fix Version/s: 1.0-Beta-2
       Resolution: Fixed

done you now can add and pull managed props on the fly


> removing an annotated managed property causes an error
> ------------------------------------------------------
>
>                 Key: EXTSCRIPT-121
>                 URL: https://issues.apache.org/jira/browse/EXTSCRIPT-121
>             Project: MyFaces Extensions Scripting
>          Issue Type: Bug
>          Components: MyFaces 2.0 Extension
>    Affects Versions: 1.0-Beta-2
>            Reporter: Werner Punz
>            Assignee: Werner Punz
>             Fix For: 1.0-Beta-2
>
>
> The removal of an annotated managed property causes following error (see below)
> I assume the reason for this is a bug in the annotation scanner which does not seem to
remove
> managed properties currently if they are not present anymore.
> Caused by: javax.el.PropertyNotFoundException: The class 'org.apache.myfaces.javaloader.test.TestBean2'
does not have the property 'bean4'.
> 	at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:574)
> 	at javax.el.BeanELResolver.setValue(BeanELResolver.java:360)
> 	at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
> 	at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:180)
> 	at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.ELResolverProxy.setValue(ELResolverProxy.java:118)
> 	at org.apache.myfaces.config.ManagedBeanBuilder.initializeProperties(ManagedBeanBuilder.java:349)
> 	at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:169)
> 	at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.createManagedBean(ManagedBeanResolver.java:303)
> 	at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.getValue(ManagedBeanResolver.java:266)
> 	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
> 	at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:140)
> 	at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.ELResolverProxy.getValue(ELResolverProxy.java:49)
> 	at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:64)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message