[OFBIZ-2618] Applying patch contributed by Arun Patidar. Thanks Arun for updated fix.

Thanks BJ for reporting the issue and providing first patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632764 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Anil Patel
2014-10-18 11:35:58 +00:00
parent 801636607d
commit 9b6f4e822c
5 changed files with 15 additions and 15 deletions
@@ -26,7 +26,7 @@ under the License.
<actions>
<set field="titleProperty" value="EcommerceSubscriptionVerifyEmail"/>
<!--<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>-->
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control"/>
<entity-one entity-name="PartyNameView" value-field="partyName" auto-field-map="false">
<field-map field-name="partyId" from-field="contactListParty.partyId"/>
</entity-one>
@@ -68,7 +68,7 @@ under the License.
<entity-one entity-name="ContactList" value-field="contactList"/>
<entity-one entity-name="PartyNameView" value-field="partyName"/>
<!--<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>-->
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://ecommerce/templates/email/ContactListSubscribeEmail.ftl"/></html></platform-specific>
@@ -82,7 +82,7 @@ under the License.
<entity-one entity-name="ContactList" value-field="contactList"/>
<entity-one entity-name="PartyNameView" value-field="partyName"/>
<!--<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>-->
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://ecommerce/templates/email/ContactListUnsubscribeVerifyEmail.ftl"/></html></platform-specific>
@@ -96,7 +96,7 @@ under the License.
<entity-one entity-name="ContactList" value-field="contactList"/>
<entity-one entity-name="PartyNameView" value-field="partyName"/>
<!--<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>-->
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://ecommerce/templates/email/ContactListUnsubscribeEmail.ftl"/></html></platform-specific>
@@ -110,7 +110,7 @@ under the License.
<entity-one entity-name="ContactList" value-field="contactList"/>
<entity-one entity-name="PartyNameView" value-field="partyName"/>
<!--<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>-->
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}${baseLocation}/control"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://ecommerce/templates/email/ContactListEmailTemplate.ftl"/></html></platform-specific>
@@ -36,7 +36,7 @@ under the License.
<screen name="GiftCardReload">
<section>
<actions>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
@@ -105,7 +105,7 @@ under the License.
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<set field="title" value="${uiLabelMap.PageTitleOrderCompleteNotice}"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<script location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/order/OrderStatus.groovy"/>
</actions>
<widgets>
@@ -119,7 +119,7 @@ under the License.
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<set field="title" value="${uiLabelMap.PageTitleOrderBackorderNotice}"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<set field="allowAnonymousView" value="Y"/> <!-- this field will instruction OrderStatus.groovy to allow an anonymous order to be viewed by anybody, so the email confirmation screen will work -->
<script location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/order/OrderStatus.groovy"/>
</actions>
@@ -134,7 +134,7 @@ under the License.
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<set field="title" value="${uiLabelMap.PageTitleOrderChangeNotice}"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<set field="allowAnonymousView" value="Y"/> <!-- this field will instruction OrderStatus.groovy to allow an anonymous order to be viewed by anybody, so the email confirmation screen will work -->
<script location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/order/OrderStatus.groovy"/>
</actions>
@@ -150,7 +150,7 @@ under the License.
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<set field="title" value="${uiLabelMap.PageTitleOrderPaymentRetryNotice}"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<script location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/order/OrderStatus.groovy"/>
</actions>
<widgets>
@@ -165,7 +165,7 @@ under the License.
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<set field="title" value="${uiLabelMap.PageTitleShipmentCompleteNotice}"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<script location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/order/ShipmentStatus.groovy"/>
</actions>
<widgets>
@@ -23,7 +23,7 @@ under the License.
<screen name="TellFriend">
<section>
<actions>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
@@ -25,7 +25,7 @@ under the License.
<section>
<actions>
<!-- <set field="title" value="Order Confirmation Notice"/> -->
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
<!-- <script location="component://ecommerce/webapp/ecommerce/WEB-INF/actions/order/OrderStatus.groovy"/> -->
</actions>
@@ -37,7 +37,7 @@ under the License.
<screen name="ReturnCancel">
<section>
<actions>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
@@ -48,7 +48,7 @@ under the License.
<screen name="ReturnComplete">
<section>
<actions>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control/"/>
<set field="baseEcommerceSecureUrl" value="${baseSecureUrl}/ecommerce/control"/>
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>