[REQUIREMENT][service] Optimize CommandLine script debug(--verbase) being able to display more specific error info
@tigershi is already working on this.
Since Mar 11, 2022.
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
According to the investigation result from Yi Wang (c) and Nannan Yan (c), the issue is caused by inconsistent response object structures from Singleton Service. Please refer to below detailed message:
Singleton Service API: POST/i18n/api/v2/translation/products/{productName}/versions/{version}/locales/{locale}/components/{component}/keys (Post a set of sources)
Inconsistent responses from backend:
Successful response:
{
“response”:{“code”:200,“message”:“OK”,“serverTime”:“”},
“signature”:“”,
“data”:“Recieved the sources and comments(please use translation-product-component-api to confirm it).”
}
Failed response:
{
“code” : 400,
“message” : “The product ‘Testing’ is NOT supported yet!“,
“serverTime” : “”
}
Please check this issue and make sure the responses from Singleton service are consistent.
Expert:
{
"response": {
"code": 400,
"message": “The product ‘Testing’ is NOT supported yet!“,
"serverTime": ""
},
"signature": "",
"data": null
}
Contributor 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.
Assessment
This issue has not been assessed yet.