[jira] [Updated] (OFBIZ-7181) Error on Product Requirement Creation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-7181) Error on Product Requirement Creation

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Lodhi updated OFBIZ-7181:
------------------------------
    Attachment: OFBIZ-7181_trunk.patch

Added check in service to handle null value and uploaded the patch for the same.

> 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)