singleton icon indicating copy to clipboard operation
singleton copied to clipboard

[BUG][Go Service][S3]Return 400 when requesting a product/version without component info on component list api.

Open lyiyu66 opened this issue 1 year ago • 0 comments

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:

  1. Here is a product/version in S3, but there is no component data under product/version directory.
  2. Request this product/version's component name list info with below api: GET [/translation/products/{productName}/versions/{version}/componentlist] API
  3. 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.

lyiyu66 avatar Mar 22 '23 10:03 lyiyu66