[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2315) SeamScopePostProcessor registers only captialized scope names, but it accepts scope names in lower-case
Dan Allen (JIRA)
jira-events at lists.jboss.org
Wed Nov 28 20:25:46 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2315?page=all ]
Dan Allen updated JBSEAM-2315:
------------------------------
Attachment: JBSEAM-2315-v1.txt
> SeamScopePostProcessor registers only captialized scope names, but it accepts scope names in lower-case
> -------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-2315
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2315
> Project: JBoss Seam
> Issue Type: Bug
> Components: Spring
> Affects Versions: 2.0.0.GA
> Reporter: Dan Allen
> Assigned To: Michael Youngstrom
> Priority: Minor
> Fix For: 2.0.1.GA
>
> Attachments: JBSEAM-2315-v1.txt
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> SeamScopePostProcessor registers only captialized scope names, but it accepts scope names in lower-case; because it does not register them, Spring barfs when it sees a scope that does not match the registered values (even though Seam would accept the alternate version)
> need to add:
> beanFactory.registerScope(prefix + scope.name().toLowerCase(), new SeamScope(scope));
> in addition to:
> beanFactory.registerScope(prefix + scope.name(), new SeamScope(scope));
--
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