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

wschwendt do-not-reply at jboss.com
Wed Jul 11 22:45:59 EDT 2007


"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



More information about the jboss-user mailing list