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]))) |
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, [hidden email] On Sun, Dec 3, 2017 at 8:04 PM, Javier H. <[hidden email]> 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]))) > |
Free forum by Nabble | Edit this page |