core icon indicating copy to clipboard operation
core copied to clipboard

Fixed removal of unpublished bundles via API (#26201)

Open dsolistorres opened this issue 1 year ago • 2 comments

Proposed Changes

  • Fixed deleteBundleAndDependencies() method in BundleAPIImpl class to get the bundle to remove from the publising_bundle table if there are not records for it in the publishing_queue_audit table, 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/ids endpoint.

Checklist

  • [x] Tests

dsolistorres avatar Feb 21 '24 16:02 dsolistorres

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

ghost avatar Feb 21 '24 16:02 ghost