svn commit: r1828255 - in /ofbiz/ofbiz-framework/trunk/applications/workeffort: config/WorkEffortUiLabels.xml servicedef/services.xml

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

svn commit: r1828255 - in /ofbiz/ofbiz-framework/trunk/applications/workeffort: config/WorkEffortUiLabels.xml servicedef/services.xml

jleroux@apache.org
Author: jleroux
Date: Tue Apr  3 16:37:09 2018
New Revision: 1828255

URL: http://svn.apache.org/viewvc?rev=1828255&view=rev
Log:
Fixed: Required parameters are optional for createWorkRequirementFulfillment service
(OFBIZ-8622)

As per entity def, required parameter should be  requirementId instead of
requirementTypeId.

Thanks: Suraj for the last patch

Modified:
    ofbiz/ofbiz-framework/trunk/applications/workeffort/config/WorkEffortUiLabels.xml
    ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/workeffort/config/WorkEffortUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/config/WorkEffortUiLabels.xml?rev=1828255&r1=1828254&r2=1828255&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/workeffort/config/WorkEffortUiLabels.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/workeffort/config/WorkEffortUiLabels.xml Tue Apr  3 16:37:09 2018
@@ -5520,8 +5520,8 @@
     <property key="WorkEffortRequiredFieldMissingWorkEffortId">
         <value xml:lang="en">Required Field Missing : WorkEffort Id.</value>
     </property>
-    <property key="WorkEffortRequiredFieldMissingRequirementTypeId">
-        <value xml:lang="en">Required Field Missing : Requirement Type Id.</value>
+    <property key="WorkEffortRequiredFieldMissingRequirementId">
+        <value xml:lang="en">Required Field Missing : Requirement Id.</value>
     </property>
     <property key="WorkEffortRequiredFieldMissingContactMechTypeId">
         <value xml:lang="en">Required Field Missing : ContactMech Type Id.</value>

Modified: ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml?rev=1828255&r1=1828254&r2=1828255&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/workeffort/servicedef/services.xml Tue Apr  3 16:37:09 2018
@@ -908,9 +908,9 @@ under the License.
                 <fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingWorkEffortId"/>
             </type-validate>
         </override>
-        <override name="requirementTypeId" optional="false">
+        <override name="requirementId" optional="false">
             <type-validate>
-                <fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingRequirementTypeId"/>
+                <fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingRequirementId"/>
             </type-validate>
         </override>
     </service>
@@ -922,9 +922,9 @@ under the License.
                 <fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingWorkEffortId"/>
             </type-validate>
         </override>
-        <override name="requirementTypeId" optional="false">
+        <override name="requirementId" optional="false">
             <type-validate>
-                <fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingRequirementTypeId"/>
+                <fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingRequirementId"/>
             </type-validate>
         </override>
     </service>