-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution:
Won't Fix
-
Affects Version/s: 2.2.0.GA, 2.3.0.GA, 2.4.0.GA, 2.5.0.GA
-
Fix Version/s: 2.7.0.GA
-
Component/s: Seam 2
-
Labels:None
-
Target Release:
-
Steps to Reproduce:
-
Workaround:Workaround Exists
-
Workaround Description:
-
Affects:Release Notes
-
Release Notes Docs Status:Documented as Known Issue
-
Release Notes Text:
-
Bugzilla References:
Description of problem:
Adding following snippet to components.xml does not work as expected:
<inter:locale-config default-locale="cs" supported-locales="en cs"/>
And it produces following message in server log after application deployment:
"SEVERE [javax.faces] (MSC service thread 1-2) Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup."
If you check class org.jboss.seam.international.LocaleConfig.java and its initLocaleConfig() method, then you'll notice that application variable resolves always to null in this case, therefore the locales are never set correctly.