Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Re: two basic questions for EntityHome

scott.stark@jboss.org

2007-07-11


"matt.drees" wrote : I think it happens in ManagedEntityIdentityInterceptor, though I don't really understand why it's done.

yes, it does, the interceptor writes to Conversation context. Thanks! There could possibly be a bug in ManagedEntityIdentityInterceptor.entityRefsToIds().

I don't really understand this code yet, but at least there is a suspiciously looking if condition:


| public void entityRefsToIds(InvocationContext ctx) throws Exception
| {
| ...
|
|  if (value!=null)
|   {...
|   }
|

Raises at least the following question: What should happen if (value==null) and in conversation context there is a wrapper saved by a previous interceptor invocation?  I think the context var for this previously saved wrapper possibly (*) needs to be deleted.  


(*) possibly because it's just a wild guess from me whose understanding of the interceptor is still very limited



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063296#4063296

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063296
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.