This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release18.12 by this push:
new 7cc848c Improved: Mandatory contact number when create/update a
TelecumNumber (OFBIZ-11110)
7cc848c is described below
commit 7cc848cfabcdb16352d953edb2cbc8ca4a60973e
Author: Nicolas Malin <[email protected]>
AuthorDate: Mon Sep 27 16:56:48 2021 +0200
Improved: Mandatory contact number when create/update a TelecumNumber
(OFBIZ-11110)
It's possible that create a Telecum number without contactNumber that
appears as an inconsistency.
Thanks: Rashi Dhagat for this issue
---
applications/party/servicedef/services.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/applications/party/servicedef/services.xml
b/applications/party/servicedef/services.xml
index 9b91ccb..fdb10d3 100644
--- a/applications/party/servicedef/services.xml
+++ b/applications/party/servicedef/services.xml
@@ -509,6 +509,7 @@ under the License.
<auto-attributes entity-name="TelecomNumber" include="nonpk" mode="IN"
optional="true"/>
<attribute name="contactMechPurposeTypeId" type="String" mode="IN"
optional="true"/>
<attribute name="contactMechId" type="String" mode="OUT"
optional="false"/>
+ <override name="contactNumber" optional="false"/>
</service>
<service name="updateTelecomNumber" engine="simple"
location="component://party/minilang/contact/ContactMechServices.xml"
invoke="updateTelecomNumber" auth="true">
@@ -524,6 +525,7 @@ under the License.
<auto-attributes entity-name="PartyContactMech" include="all"
mode="IN" optional="true"/>
<auto-attributes entity-name="TelecomNumber" include="nonpk" mode="IN"
optional="true"/>
<attribute name="contactMechId" type="String" mode="INOUT"
optional="false"/>
+ <override name="contactNumber" optional="false"/>
</service>
<service name="createEmailAddress" engine="simple"
location="component://party/minilang/contact/ContactMechServices.xml"
invoke="createEmailAddress" auth="true">