Author: jleroux
Date: Fri Feb 12 15:03:48 2016
New Revision: 1730035
URL:
http://svn.apache.org/viewvc?rev=1730035&view=revLog:
A patch from Oleg Andreyev for "Error during first attempt of the synchronisation"
https://issues.apache.org/jira/browse/OFBIZ-6893Trivial 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();