Issue 11512

LocaleProvider returns * Locale

11512
Reporter: mdoering
Assignee: mdoering
Type: Improvement
Summary: LocaleProvider returns * Locale
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2012-06-28 09:59:41.176
Updated: 2013-12-06 13:16:00.763
Resolved: 2012-06-28 10:21:50.686
TimeEstimate: 0
TimeSpent: 900
        
Description: Our LocaleProvider accepts a http request for any language and returns a Locale with language="*
This is not understood by downstream services. Options:

1) provider returns null in such case
2) provider returns Locale with * and services will have to know how to deal with that "language"

Also there is a native jersey LocaleProvider at least in version 1.12. We should make use of that and remove our custom common provider]]>
    


Author: mdoering@gbif.org
Comment: fixed custom provider. Jersey provider does something differently
Created: 2012-06-28 10:21:50.715
Updated: 2012-06-28 10:21:50.715