microsoft / msopentech-tools-for-intellij

Plugin for easy and fast development to enable developers of Android Apps to connect to Office 365 services and Azure Mobile Services, and developers of Java middleware to connect to Azure compute services
Apache License 2.0
28 stars 34 forks source link

Plugin not throwing any error message while trying to delete storage account with leased resources #342

Closed omendrapandey closed 9 years ago

omendrapandey commented 9 years ago

Environment: OS - Windows Plugin Version - 0.1.227 , Daily Build 300 IDE - Intellij 14.1.3 , JRE 1.8 Authentication - Publish Settings file

Steps - Click Azure. Expand Storage. Select storage account which has any active resources such as active vm images/disk. Right Click and Select Delete.

Plugin is not able to delete them and not showing any status message whether the storage has been deleted or not .

The plugin should throw some error message for these type of storage account like " this storage account could not be deleted as it has active images/disks . " as it was throwing in the case when we are trying to delete the blobs which contains those leased resources .

kasturiswain commented 9 years ago

Detailed Steps : Create a new Storage Account. Create a new Virtual Machine. While creating the VM in VM configuration, give the “storage account” name as the created storage account. Create the VM. Click Azure. Expand Storage. Select storage account which has created and which contains the created VM. Right Click and Select Delete. Plugin not showing any error message, while in portal it is showing error message as” Storage account testst123245 has some active image(s) and/or disk(s), e.g. deletetestvm11-deletetestvm11-0-201506160740040915. Ensure these image(s) and/or disk(s) are removed before deleting this storage account.”.

omendrapandey commented 9 years ago

This issue has been fixed in build 0.1.239.