[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2315) SeamScopePostProcessor registers only captialized scope names, but it accepts scope names in lower-case
Michael Youngstrom (JIRA)
jira-events at lists.jboss.org
Tue Dec 11 17:07:52 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2315?page=all ]
Michael Youngstrom closed JBSEAM-2315.
--------------------------------------
Resolution: Done
Patch committed. Thanks.
> 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.CR1
>
> 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