ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Le Roux <jacques.le.r...@les7arts.com>
Subject Re: svn commit: r1818606 - /ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/ViewGe neric.groovy
Date Mon, 18 Dec 2017 19:45:24 GMT
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)
>   
>
>
>


Mime
View raw message