Bug #25148
closedproductDelete function not called on product delete
Description
When deleting a product from within the product details page (use "Select Action" drop down and choose "Remove Product" after you have clicked into the product) the notification message informing you that the foreman task to delete the product has been started does not populate. In fact, the function isn't called at all and I know for a fact that the "event" variable is undefined before it hits the function.
Be aware that the function may need some changing to properly pass the link into the Notification.setSuccessMessage function call.
This bug was found while fixing this issue: https://projects.theforeman.org/issues/25047
Bastion fix can be found here: https://github.com/Katello/bastion/pull/233 - you'll need this to know what to pass into Notification.setSuccessMessage
Katello fix can be found here: https://github.com/Katello/katello/pull/7743