[
http://jira.jboss.com/jira/browse/JBSEAM-339?page=all ]
German de la Cruz updated JBSEAM-339:
-------------------------------------
Attachment: bulk.tar.gz
This is a working example of the issue. To install it, you need a JBOSS 4.0.4 GA with
myfaces 1.1.4-SNAPSHOT and EJB 3.0-RC8.
After download it, there is a dump of and mysql DB. install it. Also drop in the deploy
dir the sar and the ear.
the web context is
http://localhost:8080/demo
The user and the password is 1 / 1
Try to create a department. you'll see the error. After that, try to create another.
Event scope container (WebRequestContext) doesn't clean the beans
after destroy
-------------------------------------------------------------------------------
Key: JBSEAM-339
URL:
http://jira.jboss.com/jira/browse/JBSEAM-339
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.0.1, 1.1
Environment: Jboss Seam nightly build 20060821, myfaces 1.1.4-SNAPSHOT from cvs.
Tomahawk and tomahawk-snapshot 1.1.5-SNAPSHOT from cvs facelets 1.1.11
Reporter: German de la Cruz
Priority: Critical
Attachments: bulk.tar.gz, path_to_flush_beans.path
Please, after the flushAndDestroyContext call, clean the destroyed bean from the event
scope session (and therefore from the http request object. It produces a bug with
tomahawk-sandbox and event scoped session bean. The destroyed beans are anyway invalid
references and must be destroyed.
I've made a very simple patch, but anyway, it can't solve the problem since some
modifications in tomahawk sandbox is needed.
--
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