svn commit: r1059302 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml

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

svn commit: r1059302 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml

jleroux@apache.org
Author: jleroux
Date: Sat Jan 15 11:22:09 2011
New Revision: 1059302

URL: http://svn.apache.org/viewvc?rev=1059302&view=rev
Log:
A patch from Paul Foxworthy "updateRequirement savedValue variable never used" (https://issues.apache.org/jira/browse/OFBIZ-4113) - OFBIZ-4113

The updateRequirement simple method in applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml
creates a variable called savedValue that is never used.

Modified:
    ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml?rev=1059302&r1=1059301&r2=1059302&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml Sat Jan 15 11:22:09 2011
@@ -41,7 +41,6 @@ under the License.
         <make-value value-field="lookupPKMap" entity-name="Requirement"/>
         <set-pk-fields map="parameters" value-field="lookupPKMap"/>
         <find-by-primary-key entity-name="Requirement" map="lookupPKMap" value-field="lookedUpValue"/>
-        <clone-value value-field="lookedUpValue" new-value-field="savedValue"/>
         <field-to-result field="lookedUpValue.statusId" result-name="oldStatusId"/>
         <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
         <now-timestamp field="nowTimestamp"/>