[BUG][Go Service][S3]Return 400 when requesting a product/version without component info on component list api.
@Xiaochao8 is already working on this.
Since Mar 22, 2023.
Assessment
This issue has not been assessed yet.
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:
- 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.
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
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.
More from vmware/singleton
-
Epic kind/bug
-
kind/bug
-
kind/bug
-
area/java-service kind/security priority/medium
-
area/java-service kind/security priority/high
All issues in vmware/singleton
Similar issues
-
area/plugin
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kestra-io/plugin-kestra#190 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/rocketmq-dashboard#5064 ·