devtron icon indicating copy to clipboard operation
devtron copied to clipboard

Cloned app workflow page throws panic

Open kartik-579 opened this issue 3 years ago • 0 comments

Checklist:

  • [ ] I've searched in the docs and FAQ for my answer
  • [ ] I've included steps to reproduce the bug.

Describe the bug

On cloning an app with multiple git materials including some of duplicate git materials, the cloned app workflow page throws panic.

To Reproduce

  1. Create an application via cloning feature. The parent app should have multiple git materials and multiple workflows with unequal no of materials in their ci pipeline. Also, two of this git materials can be same.
  2. After cloning go to the workflow page of cloned app.
  3. Orchestrator throws panic with invalid memory access error.

**Expected behaviour **

The workflow page should work fine without throwing panic.

Current behaviour

Api throws panic (invalid memory/nil address exception).

AB#12

kartik-579 avatar Aug 02 '22 17:08 kartik-579