svn commit: r1350359 - /ofbiz/branches/release11.04/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRun.java

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

svn commit: r1350359 - /ofbiz/branches/release11.04/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRun.java

ashish-18
Author: ashish
Date: Thu Jun 14 18:22:32 2012
New Revision: 1350359

URL: http://svn.apache.org/viewvc?rev=1350359&view=rev
Log:
Applied bug fix from trunk r1350356.
Applied bug fix from jira issue - OFBIZ-4907 - Invalid relation name status item for Production Run.
Could not find relation for relationName: StatusItem for value [GenericEntity:WorkEffort]
Thanks Deepak for the contribution.

Modified:
    ofbiz/branches/release11.04/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRun.java

Modified: ofbiz/branches/release11.04/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRun.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRun.java?rev=1350359&r1=1350358&r2=1350359&view=diff
==============================================================================
--- ofbiz/branches/release11.04/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRun.java (original)
+++ ofbiz/branches/release11.04/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRun.java Thu Jun 14 18:22:32 2012
@@ -310,7 +310,7 @@ public class ProductionRun {
         if (exist()) {
             if (currentStatus == null) {
                 try {
-                    currentStatus = productionRun.getRelatedOneCache("StatusItem");
+                    currentStatus = productionRun.getRelatedOneCache("CurrentStatusItem");
                 } catch (GenericEntityException e) {
                     Debug.logWarning(e.getMessage(), module);
                 }