You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2016/02/12 16:03:48 UTC
svn commit: r1730035 -
/ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java
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();