[jboss-jira] [JBoss JIRA] (WFLY-1722) Validation of method params is not internationalized

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Fri Jul 19 08:15:27 EDT 2013


Juergen Zimmermann created WFLY-1722:
----------------------------------------

             Summary: Validation of method params is not internationalized
                 Key: WFLY-1722
                 URL: https://issues.jboss.org/browse/WFLY-1722
             Project: WildFly
          Issue Type: Bug
          Components: REST
    Affects Versions: 8.0.0.Alpha3
         Environment: When a method of a JAX-RS resource class is invoked due to e.g. a GET or a POST request, then the method's parameters are validated via bean validation.
However, the language of violation messages is always the default Locale, and not calculated using the header parameter accept-language, e.g. accept-language=de.
http://beanvalidation.org/1.1/spec contains an example for a class LocaleSpecificMessageInterpolator so that validation happens with a dedicated locale.
            Reporter: Juergen Zimmermann
            Assignee: Stuart Douglas




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list