You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2012/05/29 06:15:08 UTC
svn commit: r1343495 - in
/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce:
WEB-INF/actions/customer/ContactList.groovy customer/SubscriptionSummary.ftl
Author: doogie
Date: Tue May 29 04:15:07 2012
New Revision: 1343495
URL: http://svn.apache.org/viewvc?rev=1343495&view=rev
Log:
DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy?rev=1343495&r1=1343494&r2=1343495&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy Tue May 29 04:15:07 2012
@@ -44,8 +44,8 @@ webSiteContactList = delegator.findList(
publicEmailContactLists = [];
webSiteContactList.each { webSiteContactList ->
- contactList = webSiteContactList.getRelatedOne("ContactList");
- contactListType = contactList.getRelatedOne("ContactListType");
+ contactList = webSiteContactList.getRelatedOne("ContactList", false);
+ contactListType = contactList.getRelatedOne("ContactListType", false);
temp = [:];
temp.contactList = contactList;
temp.contactListType = contactListType;
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl?rev=1343495&r1=1343494&r2=1343495&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl Tue May 29 04:15:07 2012
@@ -39,12 +39,12 @@ under the License.
<tr>
<td>${subscription.subscriptionId}</td>
<td>
- <#assign subscriptionType = subscription.getRelatedOne('SubscriptionType')?if_exists>
+ <#assign subscriptionType = subscription.getRelatedOne('SubscriptionType', false)?if_exists>
${(subscriptionType.description)?default(subscription.subscriptionTypeId?default('N/A'))}
</td>
<td>${subscription.description?if_exists}</td>
<td>
- <#assign product = subscription.getRelatedOne('Product')?if_exists>
+ <#assign product = subscription.getRelatedOne('Product', false)?if_exists>
<#if product?has_content>
<#assign productName = Static['org.ofbiz.product.product.ProductContentWrapper'].getProductContentAsText(product, 'PRODUCT_NAME', request)?if_exists>
<a href="<@o...@ofbizUrl>" class="linktext">${productName?default(product.productId)}</a>