Dear Len
I checked Bigfish v1.11 and OFBiz 12.04.01, compile no errors, BF BackEnd
runs OK, but there're at least 02 bugs in BigFish FrontEnd:
---- stack trace
---------------------------------------------------------------
java.lang.IllegalArgumentException: Error running script at location
[component://osafe/webapp/osafe/WEB-INF/a
ctions/cart/showCartItems.groovy]: javax.script.ScriptException:
org.codehaus.groovy.control.MultipleCompilati
onErrorsException: startup failed:
Script72.groovy: 258: unable to resolve class GenericValue
@ line 258, column 5.
for (GenericValue productFeatureType : productFeatureTypesList)
^
Script72.groovy: 284: unable to resolve class GenericValue
@ line 284, column 2.
for (GenericValue cartAdjustment : adjustments)
^
Script72.groovy: 303: unable to resolve class GenericValue
@ line 303, column 6.
for (GenericValue promoCodeEntered
: promoCodesEntered)
^
Script72.groovy: 307: unable to resolve class GenericValue
@ line 307, column 8.
for (GenericValue
promoCode : productPromoCode)
^
4 errors
org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:348)
*AND*
g error: "Error on line 16, column 8 in
component://osafe/webapp/osafe/common/entry/contactUsEntry.ftl\nuserLo
gin.getRelatedOneCache(\"Person\") is undefined.\nIt cannot be assigned to
person"
Error on line 16, column 8 in
component://osafe/webapp/osafe/common/entry/contactUsEntry.ftl
userLogin.getRelatedOneCache("Person") is undefined.
It cannot be assigned to person
The problematic instruction:
----------
==> assignment: person=userLogin.getRelatedOneCache("Person") [on line 16,
column 8 in component://osafe/webap
p/osafe/common/entry/contactUsEntry.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Error on line 16, column 8 in
component://osafe/webapp/osafe/common
/entry/contactUsEntry.ftl
userLogin.getRelatedOneCache("Person") is undefined.
It cannot be assigned to person
at freemarker.core.Assignment.accept(Assignment.java:111)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:221)
Regards
Tri
2013/5/20 Len Shein <[email protected]>
> Christopher,
> Bigfish v1.11 is compatible with all three versions of Ofbiz (10.04, 11.04
> and 12.04). We had just recently updated the bug mentioned below with
> version 12.04 and is now available in the latest download and SVN checkout
> of BigFish v1.11, http://bigfish.solveda.com/bfDownload.html
>
> Regards
> Len
>
> -----Original Message-----
> From: Christophe Noel [mailto:[email protected]]
> Sent: Friday, May 17, 2013 6:00 AM
> To: [email protected]
> Subject: Re: OFBiz / BigFish eCommerce Updates
>
> Dear Nick,
>
> Thanks a lot for releasing Bigfish 1.11 and for the public SVN, this is
> great.
>
> Since the download page provide links to Ofbiz 10.04, 11.04 and 12.04, it
> seems to imply that BigFish now runs on each one of these releases,
> although
> not explicitely stated. Could you please clarify what is the official
> status
> of BigFish compatibility ?
>
> I tried compiling BF1.11 on OfBiz 12.04 and here what I got :
>
> [javac16] Compiling 1 source file to
> /ofbiz120401/hot-deploy/osafe/build/classes
> [javac16] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
> [javac16]
> /ofbiz120401/hot-deploy/osafe/src/com/osafe/events/SolrEvents.java:28:
> warning: [deprecation] CommonsHttpSolrServer in
> org.apache.solr.client.solrj.impl has been deprecated
> [javac16] import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer;
> [javac16] ^
> [javac16]
> /ofbiz120401/hot-deploy/osafe/src/com/osafe/events/SolrEvents.java:1150:
> error: method expandGeoRegionDeep in class GeoWorker cannot be applied to
> given types;
> [javac16] geoIdSet = GeoWorker.expandGeoRegionDeep(geoIdSet,
> delegator);
> [javac16] ^
> [javac16] required: Map<String,String>,Delegator
> [javac16] found: Set,Delegator
> [javac16] reason: actual argument Set cannot be converted to
> Map<String,String> by method invocation conversion
> [javac16] Note:
> /ofbiz120401/hot-deploy/osafe/src/com/osafe/events/SolrEvents.java uses
> unchecked or unsafe operations.
> [javac16] Note: Recompile with -Xlint:unchecked for details.
> [javac16] 1 error
> [javac16] 2 warnings
>
> As you can see, there is an error related to the
> GeoWorker.expandGeoRegionDeep() function being feed with a Set parameter
> (10.04) instead of a Map (12.04)
>
> Thanks a lot in advance for your input about BF 1.11 and Ofbiz 12.04
> compatibility status
>
> Christophe Noël
>
>
>
> --
> View this message in context:
>
> http://ofbiz.135035.n4.nabble.com/OFBiz-BigFish-eCommerce-Updates-tp4515765p
> 4641357.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
--
Tri
Chairman
www.vssic.com
Your FREEmium NETWORK
Viet Nam Solution and Service for Information
vCloudPortal(Portal) & vCloudBusiness(ERP)
Sun Certified Enterprise Architect
Ipv6: 2001:ee0:0:8001::20
+84922446668