devtron
devtron copied to clipboard
Bug: Empty workflow is created if the pipeline type is null in devtron apps
📜 Description
An empty workflow is created when pipeline type is null in case of devtron apps.
👟 Reproduction steps
- Setup charles proxy.
- Apply the breakpoint on the api
- Now change the pipelineType to null in the request and execute.
- Now refresh the devtron page.
👍 Expected behavior
No empty workflow should be created.
👎 Actual Behavior
An empty workflow is created.
☸ Kubernetes version
1.23
Cloud provider
NA
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find any similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
AB#9801