[ofbiz-framework] branch trunk updated: Removed: Duplicate getRelatedParties service definition. It was left during the service conversion from XML to Groovy (OFBIZ-11361)

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: Removed: Duplicate getRelatedParties service definition. It was left during the service conversion from XML to Groovy (OFBIZ-11361)

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 f004672  Removed: Duplicate getRelatedParties service definition. It was left during the service conversion from XML to Groovy (OFBIZ-11361)
f004672 is described below

commit f00467282f68c60e0383bf836fb5fbe5242d2148
Author: Pawan Verma <[hidden email]>
AuthorDate: Tue Apr 28 14:56:59 2020 +0530

    Removed: Duplicate getRelatedParties service definition. It was left during the service conversion from XML to Groovy
    (OFBIZ-11361)
   
    Thanks: Rohit Kaushal for the report.
---
 applications/party/servicedef/services_view.xml | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/applications/party/servicedef/services_view.xml b/applications/party/servicedef/services_view.xml
index 46f6689..3c5c2c2 100644
--- a/applications/party/servicedef/services_view.xml
+++ b/applications/party/servicedef/services_view.xml
@@ -176,29 +176,6 @@ under the License.
         <attribute name="parties" type="java.util.Collection" mode="OUT" optional="true"/>
         <override name="partyIdFrom" optional="false"/>
     </service>
-    <service name="getRelatedParties" engine="simple"
-            location="component://party/minilang/party/PartyServices.xml" invoke="getRelatedParties">
-        <description>
-            Get Parties Related to a Party
-            - The relatedPartyIdList coming out will include the original partyIdFrom
-            - The includeFromToSwitched and recurse attributes should by "Y" or "N" and default to N.
-            - The useCache attribute should be "true" or "false", defaults to "false"
-        </description>
-        <attribute name="partyIdFrom" type="String" mode="IN" optional="false">
-            <type-validate>
-                <fail-property resource="PartyErrorUiLabels" property="PartyRequiredFieldMissingPartyIdFrom"/>
-            </type-validate>
-        </attribute>
-        <attribute name="partyRelationshipTypeId" type="String" mode="IN" optional="true"/>
-        <attribute name="roleTypeIdFrom" type="String" mode="IN" optional="true"/>
-        <attribute name="roleTypeIdFromInclueAllChildTypes" type="String" mode="IN" optional="true"/>
-        <attribute name="roleTypeIdTo" type="String" mode="IN" optional="true"/>
-        <attribute name="roleTypeIdToIncludeAllChildTypes" type="String" mode="IN" optional="true"/>
-        <attribute name="includeFromToSwitched" type="String" mode="IN" optional="true"/>
-        <attribute name="recurse" type="String" mode="IN" optional="true"/>
-        <attribute name="useCache" type="String" mode="IN" optional="true"/>
-        <attribute name="relatedPartyIdList" type="List" mode="OUT" optional="false"/>
-    </service>
 
     <service name="getParentOrganizations" engine="groovy"
             location="component://party/groovyScripts/party/PartyServices.groovy" invoke="getParentOrganizations">