Commit 7ea97551 by Tuomas Riihimäki

Merge branch 'productDependenciesFreezeFix' into 'master'

Product dependencies freeze fix

See merge request !387
2 parents 9e4535ec e947b9d0
......@@ -274,7 +274,10 @@ public class ProductShopView extends GenericCDIView {
//Update product dependencies last...
for (ProductShopItem n : shoppingcart) {
// updateProductDependencies will loop throught shoppingcard, and ruin our index. Store it.
int index = shoppingcart.getRowIndex();
n.updateProductDependencies(shoppingcart);
shoppingcart.setRowIndex(index);
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!