Re: BUG: Trunk release not work with India Rupee (INR)

Posted by Jacques Le Roux on
URL: http://ofbiz.116.s1.nabble.com/Could-not-find-a-valid-price-for-the-product-with-ID-when-using-the-trunk-release-tp4534702p4644182.html

Thanks for report Chetan,

Please see updated https://issues.apache.org/jira/browse/OFBIZ-4796

Jacques

chetan.ofbiz wrote:

> 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