singleton
singleton copied to clipboard
[BUG][Go Service][S3]Return 400 when requesting a product/version without component info on component list api.
Describe the bug commit: ef33139a4aaf16c0e90fcec00bfb305a3439b73e [S3]Return 400 when requesting a product/version without component info on component list api.
Effected api: component api, supported language list api, supported locale list api.
To Reproduce Steps to reproduce the behavior:
- Here is a product/version in S3, but there is no component data under product/version directory.
- Request this product/version's component name list info with below api: GET [/translation/products/{productName}/versions/{version}/componentlist] API
- See the response:
{
"response": {
"code": 400,
"message": "Product 'SingleVersionNoData' doesn't exist"
}
}
Expected behavior Return to 200 and empty list for components item.
Additional context Not reproducible on bundle mode.