"adrian(a)jboss.org" wrote :
| 1) ScopingOverridingTestCase
|
| This is failing because of the problem I suspected when taling to Kabir
| about the issue that led to finding JBMICROCONT-330
| i.e. a scoped controller context is sharing the same metadata
| as one that should not be scoped.
|
How did this ever worked? :-)
Or what changed that 'broke' this?
I remember adding WORK scope to handle this duplicate issue.
Looking at the code, I don't see how that helped,
since it's the other two scopes that are 'interesting'; CLASS and INSTANCE,
which were always the same.
I don't see a good way to solve this,
since although scoped, beans should still share the same metadata,
if the key matches, e.g. CLASS scope on the same class.
Perhaps we should change what value we keep at INSTANCE scope.
e.g. the stuff we already discussed, adding ID to ControllerContext,
which is unique, and pass that as INSTANCE value.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169840#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...