devtron
devtron copied to clipboard
Cloned app workflow page throws panic
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
- 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.
- After cloning go to the workflow page of cloned app.
- 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