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

        Patrick Antivackis created issue -
        Patrick Antivackis made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        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
        Patrick Antivackis made changes -
        Attachment patch-OFBIZ-4601.txt [ 12505855 ]
        Patrick Antivackis made changes -
        Summary Entity synchronization is skiping values to create, store and remove Entity synchronization is skipping values to create, store and remove
        Jacques Le Roux made changes -
        Assignee Jacques Le Roux [ jacques.le.roux ]
        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
        Jacques Le Roux made changes -
        Status Patch Available [ 10002 ] Closed [ 6 ]
        Fix Version/s Release Branch 4.0 [ 12312469 ]
        Fix Version/s Release Branch 09.04 [ 12313602 ]
        Fix Version/s Release Branch 10.04 [ 12314832 ]
        Fix Version/s Release Branch 11.04 [ 12316420 ]
        Fix Version/s SVN trunk [ 12311928 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        32s 1 Patrick Antivackis 02/Dec/11 07:34
        Patch Available Patch Available Closed Closed
        20d 1h 45m 1 Jacques Le Roux 22/Dec/11 09:19

          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