Hi RRH, The capitalisation has been fixed. See
https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java?hb=true#to400 So the method is now named getProductVirtualVariantMethod with a capital V on the Virtual. Cheers Paul Foxworthy rrhati2010 wrote: > > Hi All, > > I am facing problem in migrating some Custom code extended from ofbiz9.04 > base code and overridden in new custom classes into newer version of OFBiz > 11.04. > > The error I get during build is as follows > Error sample: > > /[javac16] > C:\release11.04\hot-deploy\customorder\src\events\order\CustomShoppingCartEvents.java:203: > cannot find symbol > [javac16] symbol : method > getProductvirtualVariantMethod(org.ofbiz.entity.GenericDelegator,java.lang.String) > [javac16] location: class org.ofbiz.product.product.ProductWorker > [javac16] if > ("VV_FEATURETREE".equals(ProductWorker.getProductvirtualVariantMethod(delegator, > productId))) { > [javac16] ^ > [javac16] > C:\release11.04\hot-deploy\customorder\src\com\services\order\CustomOrderReturnServices.java:55: > incompatible types > [javac16] found : org.ofbiz.entity.Delegator > [javac16] required: org.ofbiz.entity.GenericDelegator > [javac16] GenericDelegator delegator = dctx.getDelegator();/ > > The classes reffered here are custom classes created in overridden order > component "customorder". These classes compile well under 9.04 release but > gets into error on migrating to 11.04. > > 1.It seems the method "getProductvirtualVariantMethod(delegator, > productId)" is not existing in "ProductWorker" class. Is that method > removed or replaced with a newer one? where is the documentation for such > cases. > 2. GenericDelegator object incompatibility. How to resolve it. > > Please share your views on this. > > Regards > RRH > -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-in-migrating-old-src-code-of-9-04-to-11-04-tp3919264p3920835.html Sent from the OFBiz - User mailing list archive at Nabble.com.
