diff --git a/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy b/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy index 45706a86bb..e63140464b 100644 --- a/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy +++ b/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ContactList.groovy @@ -44,8 +44,8 @@ webSiteContactList = delegator.findList("WebSiteContactList", topCond, null, nul 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; diff --git a/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl b/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl index 85b1cffb43..8581c7ec73 100644 --- a/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl +++ b/specialpurpose/ecommerce/webapp/ecommerce/customer/SubscriptionSummary.ftl @@ -39,12 +39,12 @@ under the License. ${subscription.subscriptionId} - <#assign subscriptionType = subscription.getRelatedOne('SubscriptionType')?if_exists> + <#assign subscriptionType = subscription.getRelatedOne('SubscriptionType', false)?if_exists> ${(subscriptionType.description)?default(subscription.subscriptionTypeId?default('N/A'))} ${subscription.description?if_exists} - <#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> ${productName?default(product.productId)}