devtron
devtron copied to clipboard
Bug: Error in pipelines crude operations, required validations.
📜 Description
We have faced 2 issues while creating the applications through API operations. like linked CI creation and deletion of applications created through linked CI, issues that occur due to validation checks were not implemented.
Issue 1: Linked Pipeline created through the parent ci even if parent ci is deleted.
Issue 2: linked ci pipeline creation through the Invalid git material ID.
👟 Reproduction steps
Can create an application through deleted linked CI pipeline ID. Can create an linked pipeline by passing invalid git material ID.
👍 Expected behavior
In normal behaviour, we should have failed the linked ci pipeline creation.
👎 Actual Behavior
pipelines were getting created without any validations.
☸ Kubernetes version
eks 1.28
Cloud provider
AWS
🌍 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#9553