mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-9132: API createVolume takes empty string for name parameterSteps to Reproduce: ================ Create a volume using createVolume API where parameter name is empty. It creates a volume with empty name. But the name parameter is mandatory.(Issue) Expected Behaviour: ================ It shouldn't create a volume with an empty name. Error should be returned. Solution: ======= Added a condition to check in case of empty string. If the name is an empty string, it generates a random name for the volume. Made the name field optional in UI as well as in API. * pr/1319: CLOUDSTACK-9132: API createVolume takes empty string for name parameter Signed-off-by: Remi Bergsma <github@remi.nl>