/[Apache-SVN]
ViewVC logotype

Revision 1222116


Jump to revision: Previous Next
Author: jleroux
Date: Thu Dec 22 09:19:13 2011 UTC (12 years, 4 months ago)
Changed paths: 1
Log Message:
"Applied fix from trunk for revision: 1222105  "  (conflicts easily handled by hand)
------------------------------------------------------------------------
r1222105 | jleroux | 2011-12-22 10:06:18 +0100 (jeu., 22 déc. 2011) | 7 lines

A slightly modified patch from Patrick Antivackis "Entity synchronization is skipping values to create, store and remove" https://issues.apache.org/jira/browse/OFBIZ-4601

assembleValuesTocreate, assembleValuesToStore and assembleKeysToRemove are called multiple times during a synchronization (depending on the syncSplitMillis and the time period to synchronized). There is in theses methods a check to see if at the next call, the method needs to look for values. This check depends only on entity without values at the current run, which is not enough

Solving issue described and fixing the assembleKeysToRemove that was using nextUpdateTxTime instead of nextRemoveTxTime

jleroux: functional changes from patch, only formatting
------------------------------------------------------------------------


Changed paths

Path Details
Directoryofbiz/branches/release4.0/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncContext.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26