vmware / vmware/singleton

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

Open
#2,178 0 comments 0 reactions 1 assignee View on GitHub

@Xiaochao8 is already working on this.

Since Mar 22, 2023.

area/go-service kind/bug priority/low
Dominant language
Java
Stars
72
Forks
69
Avg merge
23h 32m
Merged PRs (30d)
4

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.