You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2014/03/25 17:05:52 UTC

svn commit: r1581394 - in /ofbiz/branches/release13.07: ./ applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml

Author: jacopoc
Date: Tue Mar 25 16:05:52 2014
New Revision: 1581394

URL: http://svn.apache.org/r1581394
Log:
Applied fix from trunk for revision: 1581386 
===

Fixed warning due to missing entity fields generated by imperfections in unit tests; thanks to Adrian Crum for the report OFBIZ-5168

Modified:
    ofbiz/branches/release13.07/   (props changed)
    ofbiz/branches/release13.07/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1581386

Modified: ofbiz/branches/release13.07/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml?rev=1581394&r1=1581393&r2=1581394&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml (original)
+++ ofbiz/branches/release13.07/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml Tue Mar 25 16:05:52 2014
@@ -996,7 +996,7 @@ under the License.
         </entity-condition>
         <first-from-list entry="productionRunHeader" list="workEfforts"/>
         <entity-and list="productionRunTasks" entity-name="WorkEffort">
-            <field-map field-name="workEffortParentId" from-field="productionRunHeader.productionRunId"/>
+            <field-map field-name="workEffortParentId" from-field="productionRunHeader.workEffortId"/>
         </entity-and>
         <first-from-list entry="productionRunTask" list="productionRunTasks"/>
 
@@ -1011,7 +1011,7 @@ under the License.
         </assert>
 
         <entity-and list="productionRunProducts" entity-name="WorkEffortGoodStandard">
-            <field-map field-name="workEffortId" from-field="productionRunId"/>
+            <field-map field-name="workEffortId" from-field="productionRunHeader.workEffortId"/>
         </entity-and>
         <first-from-list entry="productionRunProduct" list="productionRunProducts"/>