Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [Singleton Service][getRranslationWithPatternUsingGET] Parameter "scope" need to check whether the input value supported #495

Closed
nannany00 opened this issue Apr 2, 2020 · 0 comments
Assignees

Comments

@nannany00
Copy link
Contributor

Describe the bug
In Singleton Service, we provide formatting data for dates, numbers, currencies, plurals, measurements, dateFields, any other value is invalid, and no data provide. Need to check whether the input value for scope is supported.

To Reproduce
Steps to reproduce the behavior:

  1. Get latest Singleton Service build, and start it;
  2. Go to API: GET/i18n/api/v2/combination/translationsAndPattern Get translations and patterns
  3. Check paramter scope for this API
    **Request Parameter: scope=date
    Response: return null for date, but isExistPattern=true
    **

Expected behavior
To keep consistent behaviour with other GetPattern APIs, need to check the input value for scope, if it's not supported, return reasonable message.

Screenshots
NA

Desktop (please complete the following information):
NA

Additional context
NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants