microsoft / azure-tools-for-java

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

[IntelliJ][Spark][RunConf] Serverless warning no artifact, when there is no main class #2644

Closed jingyanjingyan closed 5 years ago

jingyanjingyan commented 5 years ago

Build: private 2641

Repro Steps:

  1. Submit serverless spark job from context menu on serverless cosmos account
  2. Warning no artifact image
  3. Click Edit

Result: No main class image

t-rufang commented 5 years ago

@konjac Hi kun, can you help verify this issue?

konjac commented 5 years ago

This issue is not only for cosmos serverless. It is also for cosmos spark.

konjac commented 5 years ago

Actually, this dialog is a bit by design. Because the newly created config has no artifact yet.

We need to disable config error check when users are going to edit before run. This is introduced by #2586.