core
core copied to clipboard
Fixed removal of unpublished bundles via API (#26201)
Proposed Changes
- Fixed
deleteBundleAndDependencies()method inBundleAPIImplclass to get the bundle to remove from thepublising_bundletable if there are not records for it in thepublishing_queue_audittable, that is the case for bundles not yet published. - Added a postman test to check that a new bundle was removed after sending a delete request to the
api/bundle/idsendpoint.
Checklist
- [x] Tests
Quality Gate passed
Issues
0 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code