[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-1588) Seam Component name "session" reserved keyword
Norman Richards (JIRA)
jira-events at lists.jboss.org
Thu Jul 26 11:53:56 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1588?page=all ]
Norman Richards reassigned JBSEAM-1588:
---------------------------------------
Assignee: Norman Richards (was: Gavin King)
> 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
More information about the seam-issues
mailing list