svn commit: r1747661 - /ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml

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

svn commit: r1747661 - /ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml

pranayp
Author: pranayp
Date: Fri Jun 10 08:36:36 2016
New Revision: 1747661

URL: http://svn.apache.org/viewvc?rev=1747661&view=rev
Log:
[OFBiz-7295] Applied fix from the patch. Corrected typo in createWorkEffortRequestItem. The entity-name used in the 'find-by-primary-key' was "QuoteWorkEffort" instead of "CustRequestItemWorkEffort".

Thanks Amardeep Singh Jhajj for reporting the issue and thanks Montalbano Florian for looking into the issue and providing the patch.

Modified:
    ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml

Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=1747661&r1=1747660&r2=1747661&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Fri Jun 10 08:36:36 2016
@@ -853,7 +853,7 @@ under the License.
     <simple-method method-name="createWorkEffortRequestItem" short-description="Create a CustRequestItemWorkEffort">
         <make-value entity-name="CustRequestItemWorkEffort" value-field="lookupMap"/>
         <set-pk-fields map="parameters" value-field="lookupMap"/>
-        <find-by-primary-key entity-name="QuoteWorkEffort" map="lookupMap" value-field="custRequestItemWorkEffort"/>
+        <find-by-primary-key entity-name="CustRequestItemWorkEffort" map="lookupMap" value-field="custRequestItemWorkEffort"/>
         <if-not-empty field="custRequestItemWorkEffort">
             <add-error>
                 <fail-property resource="WorkEffortUiLabels" property="WorkEffortCustRequestItemAlreadyExists"/>