[ofbiz-framework] branch release18.12 updated: Fixed: Issue in which Agreement Item can't be removed from Agreement (OFBIZ-11410)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release18.12 updated: Fixed: Issue in which Agreement Item can't be removed from Agreement (OFBIZ-11410)

Pawan Verma-2
This is an automated email from the ASF dual-hosted git repository.

pawan 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 c5e640d  Fixed: Issue in which Agreement Item can't be removed from Agreement (OFBIZ-11410)
c5e640d is described below

commit c5e640dc99c8b8e195af88855a0c371fe9b88762
Author: Pawan Verma <[hidden email]>
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 -->