svn commit: r1730035 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java

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

svn commit: r1730035 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java

jleroux@apache.org
Author: jleroux
Date: Fri Feb 12 15:03:48 2016
New Revision: 1730035

URL: http://svn.apache.org/viewvc?rev=1730035&view=rev
Log:
A patch from Oleg Andreyev for "Error during first attempt of the synchronisation" https://issues.apache.org/jira/browse/OFBIZ-6893

Trivial error due to incorrect parameters passed to EntityQuery.where()

Modified:
    ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java

Modified: ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java?rev=1730035&r1=1730034&r2=1730035&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java (original)
+++ ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java Fri Feb 12 15:03:48 2016
@@ -894,7 +894,7 @@ public class EntitySyncContext {
                 EntityListIterator eli = EntityQuery.use(delegator)
                                                     .select(fieldsToSelect)
                                                     .from(modelEntity.getEntityName())
-                                                    .where(ModelEntity.STAMP_TX_FIELD, EntityOperator.NOT_EQUAL, null)
+                                                    .where(EntityCondition.makeCondition(ModelEntity.STAMP_TX_FIELD, EntityOperator.NOT_EQUAL, null))
                                                     .orderBy(ModelEntity.STAMP_TX_FIELD)
                                                     .queryIterator();
                 GenericValue nextValue = eli.next();