[ofbiz-framework] branch trunk 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 trunk 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 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 36a94d7  Fixed: Issue in which Agreement Item can't be removed from Agreement (OFBIZ-11410)
36a94d7 is described below

commit 36a94d70dfb5f9897d6b5849dabf7756a1bc1d18
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 -->