Camunda-modeler: Deployment tool sometimes throws TypeError: Cannot read property 'endpoint' of undefined

Created on 28 Oct 2020  路  2Comments  路  Source: camunda/camunda-modeler

__Describe the Bug__

Sentry Issue: CAMUNDA-MODELER-6S

TypeError: Cannot read property 'endpoint' of undefined
  at Object.removeCredentials (./src/plugins/camunda-plugin/deployment-tool/DeploymentTool.js:232:25)

__Steps to Reproduce__

This has to be investigated. I suspect that it might happen for specific saved configuration.

__Expected Behavior__

No errors.

__Environment__

See linked sentry issue.

bug deploy

Most helpful comment

I was able to reproduce it with the following steps

  1. Create new diagram (no deployment config saved so far)
  2. Open deploy dialog
  3. Immediately close it via "X"
  4. Error pops up in Console

It seem to fail because we try to remove the credentials from an endpoint which is not saved already.

All 2 comments

I was able to reproduce it with the following steps

  1. Create new diagram (no deployment config saved so far)
  2. Open deploy dialog
  3. Immediately close it via "X"
  4. Error pops up in Console

It seem to fail because we try to remove the credentials from an endpoint which is not saved already.

Was this page helpful?
0 / 5 - 0 ratings