svn commit: r1343514 - /ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/action/CloneLead.groovy

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

svn commit: r1343514 - /ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/action/CloneLead.groovy

doogie-3
Author: doogie
Date: Tue May 29 04:18:12 2012
New Revision: 1343514

URL: http://svn.apache.org/viewvc?rev=1343514&view=rev
Log:
DEPRECATION: applications/marketing: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.

Modified:
    ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/action/CloneLead.groovy

Modified: ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/action/CloneLead.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/action/CloneLead.groovy?rev=1343514&r1=1343513&r2=1343514&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/action/CloneLead.groovy (original)
+++ ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/action/CloneLead.groovy Tue May 29 04:18:12 2012
@@ -84,7 +84,7 @@ if (partyId) {
             }
         }
     }
-    partyDataSource = EntityUtil.getFirst(party.getRelated("PartyDataSource"));
+    partyDataSource = EntityUtil.getFirst(party.getRelated("PartyDataSource", null, null, false));
     if (partyDataSource) {
         dataSource = partyDataSource.getRelatedOne("DataSource", false);
         contactDetailMap.leadSource = dataSource.description;