You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Javier H." <dr...@gmail.com> on 2017/12/03 14:34:21 UTC
The following required parameter is missing: [getInventoryAvailableByFacility.facilityId])
Hello
In webstore I can search for products, but when I enter the product page I get this error, in /ecommerce/products/product_ID.
Say that getInventoryAvailableByFacility.facilityId is missing, but the product has assigned a Facility, Party and has stock.
What else could I review in the product to correct this error?
Best regards.
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#product]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException: Error running script at location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId] (Error running script at location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId]) (Error rendering screen [component://ecomm
erce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException: Error running script at location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId] (Error running script at location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId])) (Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException: Error running script at location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: org.apache.ofbiz.service.ServiceValidationExcep
tion: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId] (Error running script at location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId]) (Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException: Error running script at location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId] (Error running script at location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId])))
Re: The following required parameter is missing: [getInventoryAvailableByFacility.facilityId])
Posted by Vaibhav Jain <va...@hotwaxsystems.com>.
Hello Javier,
FacilityId is required attribute while we fetch inventory according to the
facility using getInventoryAvailableByFacility.
Please check why *facilityId* is missing when you hit the request.
For quick references:
1) Productfacility data may be missing.
2) ownerPartyId may be missing in Facility entity.
Thanks & Regards,
Vaibhav Jain
Hotwax Systems,
vaibhav.jain@hotwaxsystems.com
On Sun, Dec 3, 2017 at 8:04 PM, Javier H. <dr...@gmail.com> wrote:
> Hello
>
> In webstore I can search for products, but when I enter the product page I
> get this error, in /ecommerce/products/product_ID.
>
> Say that getInventoryAvailableByFacility.facilityId is missing, but the
> product has assigned a Facility, Party and has stock.
>
> What else could I review in the product to correct this error?
>
> Best regards.
>
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://ecommerce/widget/CatalogScreens.xml#product]:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]:
> java.lang.IllegalArgumentException: Error running script at location
> [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]:
> org.apache.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [getInventoryAvailableByFacility.facilityId]
> (Error running script at location [component://order/
> groovyScripts/entry/catalog/ProductDetail.groovy]:
> org.apache.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [getInventoryAvailableByFacility.facilityId])
> (Error rendering screen [component://ecomm
> erce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException:
> Error running script at location [component://order/
> groovyScripts/entry/catalog/ProductDetail.groovy]:
> org.apache.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [getInventoryAvailableByFacility.facilityId]
> (Error running script at location [component://order/
> groovyScripts/entry/catalog/ProductDetail.groovy]:
> org.apache.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [getInventoryAvailableByFacility.facilityId]))
> (Error rendering screen [component://ecommerce/widget/
> CommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException:
> Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]:
> java.lang.IllegalArgumentException: Error running script at location
> [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]:
> org.apache.ofbiz.service.ServiceValidationExcep
> tion: The following required parameter is missing: [
> getInventoryAvailableByFacility.facilityId] (Error running script at
> location [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]:
> org.apache.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [getInventoryAvailableByFacility.facilityId])
> (Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]:
> java.lang.IllegalArgumentException: Error running script at location
> [component://order/groovyScripts/entry/catalog/ProductDetail.groovy]:
> org.apache.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [getInventoryAvailableByFacility.facilityId]
> (Error running script at location [component://order/
> groovyScripts/entry/catalog/ProductDetail.groovy]:
> org.apache.ofbiz.service.ServiceValidationException: The following
> required parameter is missing: [getInventoryAvailableByFacilit
> y.facilityId])))
>