You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rong Nguyen (JIRA)" <ji...@apache.org> on 2014/03/11 05:53:43 UTC

[jira] [Comment Edited] (OFBIZ-5571) Error when search Requirements.

    [ https://issues.apache.org/jira/browse/OFBIZ-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13929953#comment-13929953 ] 

Rong Nguyen edited comment on OFBIZ-5571 at 3/11/14 4:53 AM:
-------------------------------------------------------------

When i change: <set field="lookupProductId" value="${bsh: (productId == null? &quot;_NA_&quot;: productId);}" type="String"/>
to: <set field="lookupProductId" value="_NA_" type="String"/>
in "<form name="ListRequirements"" of applications/order/widget/ordermgr/RequirementForms.xml
this issue will be disappeared.



was (Author: rongnk):
When i change: <set field="lookupProductId" value="${bsh: (productId == null? &quot;_NA_&quot;: productId);}" type="String"/>
to: <set field="lookupProductId" value="_NA_" type="String"/>
in applications/order/widget/ordermgr/RequirementForms.xml
this issue will be disappeared.


> Error when search Requirements.
> -------------------------------
>
>                 Key: OFBIZ-5571
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5571
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: nguyenthang
>
> Scenario:
> 1. Create new requirements with empty productId.
> 2. Goto find function in requirement 
> Issue:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#FindScreenDecorator]: java.lang.IllegalArgumentException: Error in form [ListRequirements] calling service with name [getInventoryAvailableByFacility]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.productId] (Error in form [ListRequirements] calling service with name [getInventoryAvailableByFacility]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.productId])
> Link on SVN trunk : https://demo-trunk.ofbiz.apache.org/ordermgr/control/FindRequirements



--
This message was sent by Atlassian JIRA
(v6.2#6252)