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

Service parameter should be required.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 12.04, Release Branch 13.07
    • 12.04.06, 13.07.03
    • accounting
    • None
    • Important

    Description

      There is no null check on one of parameters "itemShippingList" of calcTax service implemented in TaxAuthorityServices.java by name of rateProductTaxCalc.
      Now this parameter should either be made required in service defination in services_tax.xml or null check should be present just like the other parameters like itemQuantity have.
      because when i am trying to run this service with only passing required parameters it is throwing null pointer exception.

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            KlwntSingh Kulwant Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: