Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 3.0.0.Beta2
-
Fix Version/s: 3.0.0.CR1
-
Component/s: Locales
-
Labels:None
-
Environment:JBAS6.0.0.Final
-
Git Pull Request:
Description
AvailableLocales has @Produces List<Locale> locales, but the list is always empty
Stepping through the code in debug mode shows that no locales is added because the if-test of line 55 (!supportedLocaleKeys.isUnsatisfied()) is never true
(and a side note: the log says "WELD-000604 interface org.jboss.seam.international.locale.SupportedLocaleKeys is not declared @Target(METHOD, FIELD, PARAMETER, TYPE). Weld will use this annotation, however this may make the application unportable." otherwise nothing in the logs)
simple app with one class that exposes the locales
simply deploy and navigate to localhost:8080/seamintl-nolocales