You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2012/06/14 20:22:33 UTC

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

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);
                 }