microsoft / azure-tools-for-java

Azure tools for Java, including Azure Toolkits for Eclipse, IntelliJ and related projects.
Other
239 stars 165 forks source link

[IntelliJ] Link cluster after remove the cluster name should gives out warning #2130

Closed jingyanjingyan closed 6 years ago

jingyanjingyan commented 6 years ago

Build: Develop 771

Repro Steps:

  1. Right click on "HDInsight" then "Link A Livy Cluster"
  2. Choose "HDInsight Cluster", enter name, user name and password, tab away, the OK button enabled
  3. Delete the "Cluster Name/URL", the OK button is still enabled
  4. Click OK

Result: Nothing happened image

Expect: Give out warning or disable OK button in step 3

Scenario 2: Repro Steps:

  1. Link a HDInsight cluster, enter valid data, OK button enabled
  2. Switch to Livy services, click OK Result: Nothing happened
jingyanjingyan commented 6 years ago

Verify as fix with private build 2230, warning "Cluster name can't be empty" now.