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

Non utf-8 characters file name is creating db entry #1002

Open
Shruthi-1MN opened this issue Sep 4, 2019 · 0 comments
Open

Non utf-8 characters file name is creating db entry #1002

Shruthi-1MN opened this issue Sep 4, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Shruthi-1MN
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST?:
Non Utf-8 characters file share name is creating db entry

{"id":"88f82229-bb28-478c-b9ce-a4a484be6be8","createdAt":"2019-09-04T11:15:28","updatedAt":"2019-09-04T11:15:28","tenantId":"e93b4c0934da416eb9c8d120c5d04d96","name":"İnanç Esasları","description":"This is just for testxxx","size":2,"availabilityZone":"default","status":"creating","profileId":"df40af1a-17b5-48e5-899f-fa098b0bd5da"}•Resp is ... :&{202 Accepted 202 HTTP/1.1 1 1 map[Content-Length:[341] Content-Type:[application/json; charset=utf-8] Date:[Wed, 04 Sep 2019 05:45:28 GMT]] 0xc00021a080 341 [] false false map[] 0xc0001c6c00 <nil>}response Status: 202 Accepted

Uncomment only one, leave it on its own line:

/kind bug
/kind feature

What happened:
When you create file share name with non utf-8 character code, it is not supported by backend.
Here is osdsdock.ERRROR

E0904 10:33:42.644647   26001 dock.go:537] when create file share in dock module:exit status 1
E0904 10:33:42.687903   26001 exec.go:41] Execute command failed
info:
  Logical volume name "İnanç Esasları" is invalid.
  Run `lvcreate --help' for more information.

error: exit status 3

What you expected to happen:
It should not create file share which has non utf-8 characters.

How to reproduce it (as minimally and precisely as possible):
Create file share name with non-utf8 characters below is the example
{"name": "#FileShare Code!$!test", "description": "This is just for testxxx", "size": 2, "profileId": "df40af1a-17b5-48e5-899f-fa098b0bd5da"}

Anything else we need to know?:

Environment:

  • Hotpot(release/branch) version:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@skdwriting skdwriting added this to the Daito SODA v1.0 milestone Oct 25, 2019
@wisererik wisererik added the bug Something isn't working label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants