Re: BUG: Trunk release not work with India Rupee (INR)
Posted by
chetan.ofbiz on
URL: http://ofbiz.116.s1.nabble.com/Could-not-find-a-valid-price-for-the-product-with-ID-when-using-the-trunk-release-tp4534702p4644162.html
Sanjeev Gupta wrote
Hi Jacques : have created the Jira and attached the XML
Hi, I see that the Jira is still open. I also encountered the same issue with AUD currency and found the defect.
Line# 1157 of ShoppingCartItem.java (ofbiz stable release 12.04.02)
priceContext.put("currencyUomId", cart.getCurrency());
should be outside the "if" condition for PriceServices to get the cart currencyUomId
Hope that helps.
Best regards,
Chetan