[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1069) org.jboss.seam.core.Validators has an application scope
Gavin King (JIRA)
jira-events at lists.jboss.org
Sun Mar 18 09:48:32 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1069?page=all ]
Gavin King closed JBSEAM-1069.
------------------------------
Fix Version/s: 1.2.1.GA
Resolution: Done
Assignee: Gavin King
Oooops, right you are. How embarrassing. FIxed in CVS.
> 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
> Assigned To: Gavin King
> Fix For: 1.2.1.GA
>
>
> 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