This is an automated email from the ASF dual-hosted git repository. pawan pushed a commit to branch release17.12 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release17.12 by this push: new 6b5d4fb Fixed: Issue in which Agreement Item can't be removed from Agreement (OFBIZ-11410) 6b5d4fb is described below commit 6b5d4fb565535e6b8a07b6a081eb5b101622c63f Author: Pawan Verma <pawan.ve...@hotwaxsystems.com> AuthorDate: Mon Feb 24 19:04:16 2020 +0530 Fixed: Issue in which Agreement Item can't be removed from Agreement (OFBIZ-11410) Reason for the issue was incorrect use of service IN parameters for entity-auto delete invoke. Thanks, Pierre Smits for the report. --- applications/accounting/servicedef/services_agreement.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/applications/accounting/servicedef/services_agreement.xml b/applications/accounting/servicedef/services_agreement.xml index a409b7c..545014a 100644 --- a/applications/accounting/servicedef/services_agreement.xml +++ b/applications/accounting/servicedef/services_agreement.xml @@ -73,8 +73,7 @@ under the License. <service name="removeAgreementItem" default-entity-name="AgreementItem" engine="entity-auto" invoke="delete" auth="true"> <description>Remove an AgreementItem</description> <permission-service service-name="acctgAgreementPermissionCheck" main-action="DELETE"/> - <auto-attributes include="pk" mode="INOUT" optional="false"/> - <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- AgreementItemAttribute -->