OFBiz
  1. OFBiz
  2. OFBIZ-4601

Entity synchronization is skipping values to create, store and remove

    Details

      Description

      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 need to look for values. This check depends only on entity without values at the current run, which is not enough

      1. patch-OFBIZ-4601.txt
        3 kB
        Patrick Antivackis

        Activity

        Hide
        Patrick Antivackis added a comment -

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

        Show
        Patrick Antivackis added a comment - Solving issue described and fixing the assembleKeysToRemove that was using nextUpdateTxTime instead of nextRemoveTxTime
        Hide
        Jacques Le Roux added a comment -

        Thanks Patrick,

        Your slightly modified patch is in
        trunk r1222105
        R11.04 r1222110
        R10.04 r1222108
        R09.04 r1222109
        R4.0 r1222116 (conflicts easily handled by hand)

        In your patch I only formatted: tabs, and other minor formatting, like missing spaces around operators and trailing blanks

        Show
        Jacques Le Roux added a comment - Thanks Patrick, Your slightly modified patch is in trunk r1222105 R11.04 r1222110 R10.04 r1222108 R09.04 r1222109 R4.0 r1222116 (conflicts easily handled by hand) In your patch I only formatted: tabs, and other minor formatting, like missing spaces around operators and trailing blanks

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Patrick Antivackis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development