svn commit: r1768257 - /ofbiz/trunk/framework/service/src/main/java/org/apache/ofbiz/service/engine/EntityAutoEngine.java

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

svn commit: r1768257 - /ofbiz/trunk/framework/service/src/main/java/org/apache/ofbiz/service/engine/EntityAutoEngine.java

Deepak Dixit-5
Author: deepak
Date: Sat Nov  5 17:37:14 2016
New Revision: 1768257

URL: http://svn.apache.org/viewvc?rev=1768257&view=rev
Log:
Fixed: Entity Auto services set remaining fields to null when passed only required fields
(OFBIZ-8723)

Thanks Pawan Verma for your contribution.

Modified:
    ofbiz/trunk/framework/service/src/main/java/org/apache/ofbiz/service/engine/EntityAutoEngine.java

Modified: ofbiz/trunk/framework/service/src/main/java/org/apache/ofbiz/service/engine/EntityAutoEngine.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/main/java/org/apache/ofbiz/service/engine/EntityAutoEngine.java?rev=1768257&r1=1768256&r2=1768257&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/main/java/org/apache/ofbiz/service/engine/EntityAutoEngine.java (original)
+++ ofbiz/trunk/framework/service/src/main/java/org/apache/ofbiz/service/engine/EntityAutoEngine.java Sat Nov  5 17:37:14 2016
@@ -436,7 +436,7 @@ public final class EntityAutoEngine exte
         }
         // NOTE: nothing here to maintain the status history, that should be done with a custom service called by SECA rule
 
-        lookedUpValue.setNonPKFields(parameters, true);
+        lookedUpValue.setNonPKFields(parameters, false);
         if (modelEntity.getField("lastModifiedDate") != null
                 || modelEntity.getField("changedDate") != null) {
             if (modelEntity.getField("lastModifiedDate") != null) {