[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1069) org.jboss.seam.core.Validators has an application scope

Bryan Brouckaert (JIRA) jira-events at lists.jboss.org
Sun Mar 18 07:26:32 EDT 2007


org.jboss.seam.core.Validators has an application scope
-------------------------------------------------------

                 Key: JBSEAM-1069
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1069
             Project: JBoss Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.6.GA
            Reporter: Bryan Brouckaert


The "org.jboss.seam.core.Validators" has an application scope, but it caches the Hibernate Validator instances.  That Hibernate Validator instance has a reference to the resource bundle in a i18n configuration.  This means that a resource bundle is put in the application scope instead of the session scope :-S.  Lets hope the first user doesn't speak the least common language of you application...

I think the Validators class should move to the session scope.  Probably it was forgotten by the developer that added support for i18n to the class.

-- 
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