Author: doogie
Date: Sat May 12 21:22:06 2012
New Revision: 1337685
URL:
http://svn.apache.org/viewvc?rev=1337685&view=revLog:
DEPRECATION: specialpurpose/webpos: findByPrimaryKey variants replaced with findOne
Modified:
ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/actions/catalog/Category.groovy
Modified: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/actions/catalog/Category.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/actions/catalog/Category.groovy?rev=1337685&r1=1337684&r2=1337685&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/actions/catalog/Category.groovy (original)
+++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/actions/catalog/Category.groovy Sat May 12 21:22:06 2012
@@ -36,7 +36,7 @@ if (!(productCategoryId) && request.getA
productCategoryId = request.getAttribute("topCategoryId");
}
-category = delegator.findByPrimaryKeyCache("ProductCategory", [productCategoryId : productCategoryId]);
+category = delegator.findOne("ProductCategory", [productCategoryId : productCategoryId], true);
if (category) {
if (category.detailScreen) {
detailScreen = category.detailScreen;