svn commit: r1818606 - /ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGeneric.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1818606 - /ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGeneric.groovy

Deepak Dixit-5
Author: deepak
Date: Mon Dec 18 18:38:54 2017
New Revision: 1818606

URL: http://svn.apache.org/viewvc?rev=1818606&view=rev
Log:
Fixed: Fixed typo done at r#1818003

Modified:
    ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGeneric.groovy

Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGeneric.groovy
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGeneric.groovy?rev=1818606&r1=1818605&r2=1818606&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGeneric.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGeneric.groovy Mon Dec 18 18:38:54 2017
@@ -81,7 +81,7 @@ context.put("curFindString", curFindStri
 GenericValue value = null
 //only try to find it if this is a valid primary key...
 if (findByPK.isPrimaryKey()) {
-    value = from("findByPK.getEntityName()").where(findByPK).queryOne();
+    value = from(findByPK.getEntityName()).where(findByPK).queryOne();
 }
 context.put("value", value)