Hi Scott

Thanks for the explanation. As you have suggested I have added the store in
that form and I have restated the application again but I am still getting
error and this time I am getting two exceptions. 

First one is:

Expression layoutSettings.companyName is undefined on line 29, column 14 in
component://bluelight/includes/header.ftl.
The problematic instruction:
----------
==> ${layoutSettings.companyName} [on line 29, column 12 in
component://bluelight/includes/header.ftl]
----------


And a part of second one is below:

Caused by: org.ofbiz.base.util.GeneralException: Error running Groovy script
at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductSummary.groovy]
(The following required parameter is missing:
[getInventoryAvailableByFacility.facilityId])
        at
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:410)
        at
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220)
        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
        ... 92 more
Caused by: org.ofbiz.service.ServiceValidationException: The following
required parameter is missing: [getInventoryAvailableByFacility.facilityId]
        at org.ofbiz.service.ModelService.validate(ModelService.java:522)
        at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:372)
        at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:219)
        at 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
        at ProductSummary.run(ProductSummary.groovy:60)
        at 
org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:117)
        at org.ofbiz.widget.sc

"getInventoryAvailableByFacility.facilityId" This is missing  so i tried
creating a facility and linked it with the party ID but no luck.

How can I configure facility if its really necessary.

Please suggest

Regards
Gaurav
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Adding-Products-to-Cloned-Ecommerce-Application-tp2248395p2248595.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to