Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [JAVAClient] Long source string is cut when being collected dynamically #307

Closed
Xiaochao8 opened this issue Nov 22, 2019 · 2 comments
Assignees
Labels

Comments

@Xiaochao8
Copy link
Contributor

Xiaochao8 commented Nov 22, 2019

When sending long string to service through dynamic source collection, string is cut,

Here is the test script pic from product team. The string on service is cut, so getMessage always returns English becuase source is different.

Locale locale = new Locale("zh", "CN");
String message = "xxxxxx";
String key = "xxx";
String result = this.translation.getString(locale, "xxx", key, message, "");
// result should be translated to zh_CH, that's why will not be equal to message
Assert.assertNotEquals(message, result);

@nannany00
Copy link
Contributor

@Xiaochao8 , please help to check this issue. Thanks.

Xiaochao8 added a commit to Xiaochao8/singleton that referenced this issue Nov 25, 2019
Long source string is cut when being collected dynamically (vmware#307)
@huihuiw01 huihuiw01 assigned Xiaochao8 and unassigned Xiaochao8 Dec 4, 2019
@lyiyu66 lyiyu66 closed this as completed Dec 11, 2019
@lyiyu66
Copy link

lyiyu66 commented Dec 11, 2019

Checked with latest build, client can transfer the long source to service without any truncation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants