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

Error on Product Requirement Creation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 14.12.01, 15.12.01, 13.07.04
    • Component/s: order
    • Labels:
      None

      Description

      Step to regenerate:
      1) Got to Order -> Requirements -> New Requirement
      2) On Create Requirement form select Requirement Type Id equals to "Product Requirement"
      3) Select any product and submit the form.
      4) Here you get the broken screen.

      Root Cause:
      There is a seca rule on "createRequirement" service that triggered "autoAssignRequirementToSupplier" for requirementTypeId equals to "PRODUCT_REQUIREMENT". This service is generating error when quantity is not passed to it. One can easily submit the form to create new requirement without passing quantity as there is not client side validation.

        Attachments

        1. OFBIZ-7181_trunk.patch
          1 kB
          Ravi Lodhi

          Activity

            People

            • Assignee:
              toashishvijay Ashish Vijaywargiya
              Reporter:
              lodhiravi Ravi Lodhi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: