{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/1273","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/1273/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/1273/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/1273/events","html_url":"https://github.com/apache/cloudstack/pull/1273","id":123440581,"number":1273,"title":"CLOUDSTACK-9132: API createVolume takes empty string for name parameter","user":{"login":"nitin-maharana","id":12583725,"avatar_url":"https://avatars.githubusercontent.com/u/12583725?v=3","gravatar_id":"","url":"https://api.github.com/users/nitin-maharana","html_url":"https://github.com/nitin-maharana","followers_url":"https://api.github.com/users/nitin-maharana/followers","following_url":"https://api.github.com/users/nitin-maharana/following{/other_user}","gists_url":"https://api.github.com/users/nitin-maharana/gists{/gist_id}","starred_url":"https://api.github.com/users/nitin-maharana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitin-maharana/subscriptions","organizations_url":"https://api.github.com/users/nitin-maharana/orgs","repos_url":"https://api.github.com/users/nitin-maharana/repos","events_url":"https://api.github.com/users/nitin-maharana/events{/privacy}","received_events_url":"https://api.github.com/users/nitin-maharana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-12-22T08:48:08Z","updated_at":"2016-01-03T11:25:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/1273","html_url":"https://github.com/apache/cloudstack/pull/1273","diff_url":"https://github.com/apache/cloudstack/pull/1273.diff","patch_url":"https://github.com/apache/cloudstack/pull/1273.patch"},"body":"Steps to Reproduce:\r\n================\r\nCreate a volume using createVolume API where parameter name is empty.\r\nIt creates a volume with empty name.\r\nBut the name parameter is mandatory.(Issue)\r\n\r\nExpected Behaviour:\r\n================\r\nIt shouldn't create a volume with an empty name. Error should be returned.\r\n\r\nSolution:\r\n=======\r\nAdded 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."},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/168489874","html_url":"https://github.com/apache/cloudstack/pull/1273#issuecomment-168489874","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/1273","id":168489874,"user":{"login":"remibergsma","id":1630096,"avatar_url":"https://avatars.githubusercontent.com/u/1630096?v=3","gravatar_id":"","url":"https://api.github.com/users/remibergsma","html_url":"https://github.com/remibergsma","followers_url":"https://api.github.com/users/remibergsma/followers","following_url":"https://api.github.com/users/remibergsma/following{/other_user}","gists_url":"https://api.github.com/users/remibergsma/gists{/gist_id}","starred_url":"https://api.github.com/users/remibergsma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remibergsma/subscriptions","organizations_url":"https://api.github.com/users/remibergsma/orgs","repos_url":"https://api.github.com/users/remibergsma/repos","events_url":"https://api.github.com/users/remibergsma/events{/privacy}","received_events_url":"https://api.github.com/users/remibergsma/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T11:25:07Z","updated_at":"2016-01-03T11:25:07Z","body":"@nitin-maharana See thread on dev-list: the errors are due to quota plugin failing since Jan 1st 2016. Once this is resolved, you can rebase.\r\n\r\n@DaanHoogland While that is true, there'll be no more 4.6 release so why bother. There really is no reason not to upgrade to 4.7 when people are on 4.6. It's a 5min task and doesn't require new systemvm template. "}}