You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2018/06/23 06:26:57 UTC
svn commit: r1834181 - in /ofbiz/ofbiz-framework/trunk/applications/party:
config/PartyUiLabels.xml minilang/user/UserEvents.xml
Author: arunpatidar
Date: Sat Jun 23 06:26:56 2018
New Revision: 1834181
URL: http://svn.apache.org/viewvc?rev=1834181&view=rev
Log:
FIXED:Incorrect succes mesage after creating customer.
(OFBIZ-9898)
Thanks Anushi Gupta for your contribution.
Modified:
ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml
ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml?rev=1834181&r1=1834180&r2=1834181&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml Sat Jun 23 06:26:56 2018
@@ -2052,6 +2052,9 @@
<value xml:lang="th">à¹à¸à¸à¸²à¸ªà¹à¸«à¸¡à¹à¸à¸µà¹à¸ªà¸£à¹à¸²à¸à¹à¸ªà¸£à¹à¸à¹à¸£à¸µà¸¢à¸à¸£à¹à¸à¸¢à¹à¸¥à¹à¸§</value>
<value xml:lang="vi">Triá»n vá»ng Má»i Äược tạo thà nh công.</value>
</property>
+ <property key="CustomerCreatedSuccessfully">
+ <value xml:lang="en">Customer created successfully.</value>
+ </property>
<property key="PageTitleAddPartyContent">
<value xml:lang="ar">إضاÙØ© Ù
ØتÙÙ ÙÙطرÙ</value>
<value xml:lang="de">Akteur Inhalt hinzufügen</value>
Modified: ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml?rev=1834181&r1=1834180&r2=1834181&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml Sat Jun 23 06:26:56 2018
@@ -28,6 +28,8 @@ under the License.
<set field="create_allow_password" value="true"/>
<set field="parameters.roleTypeId" value="CUSTOMER"/>
<call-simple-method method-name="createUser"/>
+ <property-to-field field="successMessage" resource="PartyUiLabels" property="CustomerCreatedSuccessfully"/>
+ <set field="_event_message_" value="${successMessage}" />
</simple-method>
<simple-method method-name="createProspect" short-description="Create Prospect" login-required="false">
<set field="require_email" value="true"/>
@@ -41,6 +43,8 @@ under the License.
<now-timestamp field="nowStamp"/>
<set field="parameters.roleTypeId" value="PROSPECT"/>
<call-simple-method method-name="createUser"/>
+ <property-to-field field="newProspectMessage" resource="PartyUiLabels" property="NewProspect"/>
+ <set field="_event_message_" value="${newProspectMessage}" />
</simple-method>
<simple-method method-name="createEmployee" short-description="Create Employee" login-required="false">
@@ -434,8 +438,6 @@ under the License.
<set field="emailContext.productStoreId" from-field="parameters.PRODUCT_STORE_ID"/>
<set-service-fields service-name="sendCreatePartyEmailNotification" map="emailContext" to-map="serviceInMap"/>
<call-service-asynch service-name="sendCreatePartyEmailNotification" in-map-name="serviceInMap"/>
- <property-to-field field="newProspectMessage" resource="PartyUiLabels" property="NewProspect"/>
- <set field="_event_message_" value="${newProspectMessage}" />
</simple-method>
</simple-methods>