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

Service parameter should be required.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 12.04, Release Branch 13.07
    • Fix Version/s: 12.04.06, 13.07.03
    • Component/s: accounting
    • Labels:
      None
    • Flags:
      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

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              KlwntSingh Kulwant Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: