camunda-modeler icon indicating copy to clipboard operation
camunda-modeler copied to clipboard

Error messages in deployment overlay is not always correct

Open nithinssabu opened this issue 2 years ago • 1 comments

Describe the bug

The errors messages related to connection check is not always correct in the deployment overlay. Here are two examples of incorrect error messages:

  1. If a wrong Client ID is entered, the error message is “Should point to a running OAuth service”, whereas I would expect to get wrong credentials message for Client ID and Client secret.
  2. If a wrong value is entered for Audience, then the error messages for Client ID and Client secret is shown.

https://user-images.githubusercontent.com/5987816/189828558-9d2dc0e3-316c-4164-8779-1a032c2a0773.mov

Steps to reproduce

Case 1:

  1. Enter valid values for all fields in the deploy modal
  2. Change the value for Client ID to an invalid value

Case 2:

  1. Enter valid values for all fields in the deploy modal
  2. Change the value for Audience to an invalid value

Expected behavior

The error messages always help the user identify the exact problem causing the error.

Environment

  • OS: [MacOS]
  • Camunda Modeler Version: [latest] (tested locally in the dev environment)

Additional context

No response

nithinssabu avatar Sep 13 '22 06:09 nithinssabu

Thanks for the bug report.

Happy to take a contribution to fix this.

nikku avatar Sep 19 '22 16:09 nikku