[
https://issues.apache.org/jira/browse/OFBIZ-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13929953#comment-13929953
]
Rong Nguyen commented on OFBIZ-5571:
------------------------------------
When i change: <set field="lookupProductId" value="${bsh: (productId == null?
"_NA_": 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)