Project

General

Profile

Actions

Bug #6513

closed

Product destroy prematurely removing from elastic search

Added by Partha Aji almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Orchestration
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Also available in: Atom PDF