You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "chetan.ofbiz" <ch...@gmail.com> on 2013/09/25 14:57:43 UTC

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

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





--
View this message in context: http://ofbiz.135035.n4.nabble.com/Could-not-find-a-valid-price-for-the-product-with-ID-when-using-the-trunk-release-tp4534702p4644162.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

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

Posted by Jacques Le Roux <ja...@les7arts.com>.
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