[
http://jira.jboss.com/jira/browse/JBSEAM-1588?page=all ]
Norman Richards closed JBSEAM-1588.
-----------------------------------
Resolution: Done
This is no longer an issue with the new component .xml import code.
Seam Component name "session" reserved keyword
----------------------------------------------
Key: JBSEAM-1588
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1588
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.0.BETA1
Reporter: Christoph Aigner
Assigned To: Norman Richards
Priority: Blocker
Fix For: 2.0.0.CR1
Original Estimate: 1 hour
Remaining Estimate: 1 hour
after migrating from 1.2 to 2.0 Seam throws the following error:
java.lang.IllegalArgumentException: value of context variable is not an instance of the
component bound to the context variable: session
the error occurs when I try to inject a class:
@Name("session")
@Scope(ScopeType.SESSION)
public class Session implements java.io.Serializable {
..
in:
@Stateless
@Name("remoting_desktop")
public class Desktop implements DesktopInterface {
@In(create=true,required=false) Session session;
..
worked with 1.2 as "session" is reserved
--
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