Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4796

Current SVN Trunk does not work with INR as the default currency.

    XMLWordPrintableJSON

Details

    Description

      When you upload custom data using an XML file; with store's default currency set to INR and the product prices defined in INR - your can't add products to the shopping chart. You get errors like :
      1) "Could not find a valid price for the product with ID [ID], not adding to cart"
      2) Fatal error calling inventory checking services: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [isStoreInventoryAvailableOrNotRequired.productStoreId].

      As a work around you have to manually go into general.properties and change the default currency - I'm assuming that this would work in you are running a one or multiple stores with just on currency, but not if you have multiple currencies in stores.
      Even with this workaround the prices in the store shows up as "Rs100" instead of "Rs 100". Please note the space between Rs and 100.

      This problem does not exist in 11.04, everything works fine - locale defined in the product store work without any issue and the prices show up correctly "Rs 100"

      Attachments

        1. OfBizStoreDataINR_JIRA.xml
          69 kB
          Sanjeev Neelarapu

        Activity

          People

            jleroux Jacques Le Roux
            sanjeev Sanjeev Neelarapu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: