[ https://issues.apache.org/jira/browse/OFBIZ-7181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318123#comment-15318123 ]
Montalbano Florian commented on OFBIZ-7181: ------------------------------------------- I confirm the problem on the trunk version. The patch is working well for me (still on the trunk). Well done ! With a quick look at the code of the other version, it seems that this patch could be useful for the 15.12 and the 13.07 versions of OFBiz. > Error on Product Requirement Creation > ------------------------------------- > > Key: OFBIZ-7181 > URL: https://issues.apache.org/jira/browse/OFBIZ-7181 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Trunk > Reporter: Ravi Lodhi > Assignee: Ravi Lodhi > Attachments: OFBIZ-7181_trunk.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)