[seam-issues] [JBoss JIRA] Updated: (SEAMINTL-25) AvailableLocales.locales always has zero elements when configuration follows the documentation

Leiv Hellebo (JIRA) jira-events at lists.jboss.org
Thu Feb 10 17:40:46 EST 2011


     [ https://issues.jboss.org/browse/SEAMINTL-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leiv Hellebo updated SEAMINTL-25:
---------------------------------

    Attachment: NoLocale.java


attaching the class that exposes the locales

> AvailableLocales.locales always has zero elements when configuration follows the documentation
> ----------------------------------------------------------------------------------------------
>
>                 Key: SEAMINTL-25
>                 URL: https://issues.jboss.org/browse/SEAMINTL-25
>             Project: Seam International
>          Issue Type: Bug
>          Components: Locales
>    Affects Versions: 3.0.0.Beta2
>         Environment: JBAS6.0.0.Final
>            Reporter: Leiv Hellebo
>         Attachments: NoLocale.java, seamintl-nolocales.war
>
>
> 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)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list