-
Type:
Sub-Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: 2.1.1
-
Fix Version/s: 2.1.1
-
Component/s: Digital Merchandise Management → Options
-
Labels:None
Product Option Value that refers to product instance must always point to:
- existing (record present in DB)
- valid (workflow status == APPROVED)
product instance.
delete operation on product instance must trigger product option consistency update:
- check if instance is referred by cp definition option value (cp instance option value entity may speed up - not quite sure)
- for all cp definition option that point to product instance: keep physical record but clean attributes
Provide integration test that tests cpDefintionOptionValue state after cpInstance was deleted