This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new be5f6ae Improved: Mandatory contact number when create/update a
TelecumNumber (OFBIZ-11110)
be5f6ae is described below
commit be5f6aef7618799716029b355381a3060edeb53c
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 2f62116..5c16732 100644
--- a/applications/party/servicedef/services.xml
+++ b/applications/party/servicedef/services.xml
@@ -575,6 +575,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="updatePartyTelecomNumber" engine="simple"
location="component://party/minilang/contact/PartyContactMechServices.xml"
invoke="updatePartyTelecomNumber" auth="true">
@@ -583,6 +584,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="createPartyEmailAddress" engine="simple"
location="component://party/minilang/contact/PartyContactMechServices.xml"
invoke="createPartyEmailAddress" auth="true">