api icon indicating copy to clipboard operation
api copied to clipboard

Updating file share name with length greater than 255 characters is successful

Open anvithks opened this issue 4 years ago • 0 comments

Is this a BUG REPORT or FEATURE REQUEST?: /kind bug

What happened:

  1. Created a file share with name less than 255 characters.
  2. Updated the same file share with name greater than 255 characters. What you expected to happen: File share update should have failed with appropriate error message. "Name cannot be greater than 255 characters." How to reproduce it (as minimally and precisely as possible):
  3. Create a file share with name less than 255 characters.
  4. Update the file share with name greater than 255 characters.

Anything else we need to know?: All steps tested with CLI.

Environment:

  • Hotpot(release/branch) version: v0.7.0
  • OS (e.g. from /etc/os-release): Ubuntu 16.04.6 LTS
  • Kernel (e.g. uname -a): Linux opensds-VirtualBox 4.15.0-72-generic #81~16.04.1-Ubuntu SMP Tue Nov 26 16:34:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Install tools:
  • Others: Using the Hotpot CLI for testing

anvithks avatar Dec 17 '19 05:12 anvithks