Actions
Bug #6513
closedProduct destroy prematurely removing from elastic search
Description
1. Create a product + a repo.
2. Associate them in a CV, publish
3. Remove the product via bulk actions. You should see an error saying. Cannot delete products since its already associated to the library.
4. Go to the products page..
Actual:
The product is missing even though the dynflow code complained that the product didnt get deleted due to an error.
Expected:
Expect to see the product there since it didnt get deleted.
PS:
The product actually doesnt get deleted from the DB. Its just that its prematurely deleted from elastic search.
Actions