[BUG][Java Service]localeID is empty when requesting language goes with region and combinational locale is valid on language/region pattern api.
@huihuiw01 is already working on this.
Since Jun 6, 2023.
Assessment
This issue has not been assessed yet.
Description
Describe the bug
commit: 3ca386100dcad77b1fb36031cc621726a94278ee
localeID is empty when requesting language goes with region and combinational locale is valid on language/region pattern api.
GET /i18n/api/v1/i18nPattern
GET /i18n/api/v2/formatting/patterns/locales/{locale}
To Reproduce
Steps to reproduce the behavior:
- Go to 'GET /i18n/api/v2/formatting/patterns'
- Input "en-US" as language, "US" as region and "plurals" as pattern.
- See the response:
{
"response": {
"code": 200,
"message": "OK",
"serverTime": ""
},
"signature": "",
"data": {
"localeID": "",
"language": "en-US",
"region": "us",
"categories":
...
}
}
Expected behavior
the combinational locale should be listed as localeID value: en-US
{
"response": {
"code": 200,
"message": "OK",
"serverTime": ""
},
"signature": "",
"data": {
"localeID": "en-US",
"language": "en-US",
"region": "us",
"categories":
...
}
}
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 18h 8m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vmware/singleton
-
Epic kind/bug
-
[BUG] [Service] Get Access key errorMay be free again @tigershi claimed this 935 days ago, and no pull request is open. Openkind/bug
-
kind/bug
-
[Java Service] Upgrade Spring Boot from 3.1.x to 3.2.xMay be free again @tigershi claimed this 956 days ago, and no pull request is open. Openarea/java-service kind/security priority/medium
-
[BUG][Java Service][Security] Please upgrade dependency libraries to latest version: springboot-3.1.8May be free again @tigershi claimed this 982 days ago, and no pull request is open. Openarea/java-service kind/security priority/high
All issues in vmware/singleton
Similar issues
-
type: possible bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
grimmory-tools/grimmory#2850 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
aoqia194/leaf-loader#19 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/streampark#4521 ·