You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2017/12/18 19:45:24 UTC

Re: svn commit: r1818606 - /ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGe neric.groovy

Thanks Deepak,

It closed OFBIZ-10087 :)

Jacques


Le 18/12/2017 à 19:38, deepak@apache.org a écrit :
> 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)
>   
>
>
>