While working on https://issues.apache.org/jira/browse/OFBIZ-3995 I stumbled upon many hardcoded sentences in <default-message> tags.
Though it introduces dependencies from Party to Product and Workeffort, this fixes 2 of them. To be revisited if we want to remove the dependencies and fix the other hardcoded sentences. I have opened OFBIZ-3996 for that... git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023860 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-2
@@ -83,8 +83,7 @@ under the License.
|
||||
<set-service-fields service-name="updateContactMech" map="parameters" to-map="updateContactMechMap"/>
|
||||
<set field="updateContactMechMap.contactMechTypeId" from-field="parameters.contactMechTypeId"/>
|
||||
<call-service service-name="updateContactMech" in-map-name="updateContactMechMap">
|
||||
<default-message>Contact Mechanism successfully updated.</default-message>
|
||||
|
||||
<default-message property="PartyContactMechanismSuccessfullyUpdated" resource="PartyUiLabels"/>
|
||||
<result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
|
||||
</call-service>
|
||||
<else>
|
||||
|
||||
+1
-1
@@ -370,7 +370,7 @@ under the License.
|
||||
<to-string field="context.contactMechId"/>
|
||||
<log level="info" message="Calling generic updateContactMech method"/>
|
||||
<call-service service-name="updateContactMech" in-map-name="context">
|
||||
<default-message>Contact Mechanism successfully updated.</default-message>
|
||||
<default-message property="PartyContactMechanismSuccessfullyUpdated" resource="PartyUiLabels"/>
|
||||
<result-to-field result-name="contactMechId" field="newWorkEffortContactMech.contactMechId"/>
|
||||
</call-service>
|
||||
<else>
|
||||
|
||||
Reference in New Issue
Block a user