[jbossseam-issues] [JBoss JIRA] Created: (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:23:50 EST 2007


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


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