[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1857) ManagedEntityIdentityInterceptor nulls fields incorrectly in reentrant calls to conversation scoped components
by Kahli Burke (JIRA)
ManagedEntityIdentityInterceptor nulls fields incorrectly in reentrant calls to conversation scoped components
--------------------------------------------------------------------------------------------------------------
Key: JBSEAM-1857
URL: http://jira.jboss.com/jira/browse/JBSEAM-1857
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0.BETA1
Environment: Seam 2.0.0.BETA1, also jboss-seam-CVS.2007-08-22_00-49-47
Reporter: Kahli Burke
Priority: Blocker
When a conversation component method is called in a reentrant fashion, entity fields are nulled incorrectly.
The scenario is as follows:
I. Component A method is called
A. entityIdsToRefs(). (reinject entity fields)
B. Method invoked
C. Component A calls method in object B
D. Object B calls method in Component A.
i. entityIdsToRefs()
ii. Method invoked
iii. entityRefsToIds(). (disinject entity fields, set to null, save in conversation)
E. entityRefsToIds(). (fields are already null, so clearWrapper is called, and the objects are removed from the conversation)
II. Component A method is called, values are null, and cannot be retrieved from the conversation context (they are in the removals map)
The solution seems to be the same as what was done with the BijectionInterceptor in JBSEAM-631. I wonder if this also might be related to JBSEAM-1840?
I've attached a patch that fixes the problem for me, please review.
Thanks!
--
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
16 years, 10 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1751) Remoting doesn't appear to work with GlassFish
by Samuel Doyle (JIRA)
Remoting doesn't appear to work with GlassFish
----------------------------------------------
Key: JBSEAM-1751
URL: http://jira.jboss.com/jira/browse/JBSEAM-1751
Project: JBoss Seam
Issue Type: Bug
Components: Remoting
Affects Versions: 2.0.0.BETA1
Environment: GlassFish V2 build 56 using IE Version 7 and Firefox 2.0 for testing
Reporter: Samuel Doyle
Assigned To: Shane Bryzak
Hi there,
I was trying to get remoting working with a project I am working on it was constantly failing without any indication of error in the Seam debug window or the server logs.
The Seam debug window indicates that the server side request is being invoked and looks fine but when testing the debug window just says response packet followed by nothing. My server method code never gets hit.
After playing around with my existing project for a bit I decided just to try the bare bones and the HelloWorld example in your head branch in cvs produced the same results. I have been using DWR up to this point and has proven to be reliable. Since I'm using Seam I would like to be able to use it for all the interactions including the JavaScript AJAX interactions with introducing additional frameworks.
I posted a lot more information on the forum. Please see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=114820 for more details.
--
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
16 years, 10 months