vmware / singleton

A service that provides support for Software Internationalization and Localization
Other
68 stars 64 forks source link

[BUG] g11n-java-client - When initializing the cache, offline only locales are not included. #783

Open jessiejuachon opened 4 years ago

jessiejuachon commented 4 years ago

Describe the bug When initializing the cache, if service is available, only online supported locales is fetched.

To Reproduce

  1. Set initializeCache config to true, and online mode (Set vipServer config to an available vip service hostname)
  2. Include an offline locale bundle that is not found in the vip service.
  3. Start up application
  4. Notice that the offline locale bundle is not loaded in cache.

Expected behavior The offline locale bundle should also be loaded in cache because it is also "supported".

jessiejuachon commented 4 years ago

@lyiyu66 , FYI. Please review.