[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-631) seam disinjection fails for reentrant calls
Andrew (JIRA)
jira-events at jboss.com
Wed Jan 3 19:42:35 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-631?page=all ]
Andrew updated JBSEAM-631:
--------------------------
Attachment: bug631.diff
I needed this fixed ASAP, so I made a quick & dirty solution that would work for us. I used a thread local variable to hold a reference counter in the BijectionInterceptor. The values are only disinjected if the reference count of that component is 0.
I would hope that the Seam team can come up with a more elegant solution for this bug, but until then this patch will fix the bug (and I am posting it here to help others if not be used towards the fix)
> seam disinjection fails for reentrant calls
> -------------------------------------------
>
> Key: JBSEAM-631
> URL: http://jira.jboss.com/jira/browse/JBSEAM-631
> Project: JBoss Seam
> Issue Type: Bug
> Reporter: Norman Richards
> Attachments: bug631.diff
>
>
> If a component A calls component B and component B calls back to component A, Seam disinjects values after the second call to A. This leaves component A with null injection values when control returns back to it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list