[
https://issues.apache.org/jira/browse/OFBIZ-7181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Vijaywargiya reassigned OFBIZ-7181:
------------------------------------------
Assignee: Ashish Vijaywargiya (was: Ravi Lodhi)
> 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: Ashish Vijaywargiya
> 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)