You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Patrick Antivackis (Created) (JIRA)" <ji...@apache.org> on 2011/12/02 08:35:40 UTC
[jira] [Created] (OFBIZ-4601) Entity synchronization is skiping
values to create, store and remove
Entity synchronization is skiping values to create, store and remove
--------------------------------------------------------------------
Key: OFBIZ-4601
URL: https://issues.apache.org/jira/browse/OFBIZ-4601
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: Release 10.04, Release 09.04, Release 4.0, SVN trunk
Reporter: Patrick Antivackis
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OFBIZ-4601) Entity synchronization is skipping
values to create, store and remove
Posted by "Jacques Le Roux (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-4601.
----------------------------------
Resolution: Fixed
Fix Version/s: SVN trunk
Release Branch 11.04
Release Branch 10.04
Release Branch 09.04
Release Branch 4.0
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
> Entity synchronization is skipping values to create, store and remove
> ---------------------------------------------------------------------
>
> Key: OFBIZ-4601
> URL: https://issues.apache.org/jira/browse/OFBIZ-4601
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 4.0, Release 09.04, Release 10.04, SVN trunk
> Reporter: Patrick Antivackis
> Assignee: Jacques Le Roux
> Fix For: Release Branch 4.0, Release Branch 09.04, Release Branch 10.04, Release Branch 11.04, SVN trunk
>
> Attachments: patch-OFBIZ-4601.txt
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-4601) Entity synchronization is skipping
values to create, store and remove
Posted by "Patrick Antivackis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Antivackis updated OFBIZ-4601:
--------------------------------------
Summary: Entity synchronization is skipping values to create, store and remove (was: Entity synchronization is skiping values to create, store and remove)
> Entity synchronization is skipping values to create, store and remove
> ---------------------------------------------------------------------
>
> Key: OFBIZ-4601
> URL: https://issues.apache.org/jira/browse/OFBIZ-4601
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 4.0, Release 09.04, Release 10.04, SVN trunk
> Reporter: Patrick Antivackis
> Attachments: patch-OFBIZ-4601.txt
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-4601) Entity synchronization is skiping
values to create, store and remove
Posted by "Patrick Antivackis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Antivackis updated OFBIZ-4601:
--------------------------------------
Attachment: patch-OFBIZ-4601.txt
Solving issue described and fixing the assembleKeysToRemove that was using nextUpdateTxTime instead of nextRemoveTxTime
> Entity synchronization is skiping values to create, store and remove
> --------------------------------------------------------------------
>
> Key: OFBIZ-4601
> URL: https://issues.apache.org/jira/browse/OFBIZ-4601
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 4.0, Release 09.04, Release 10.04, SVN trunk
> Reporter: Patrick Antivackis
> Attachments: patch-OFBIZ-4601.txt
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (OFBIZ-4601) Entity synchronization is skipping
values to create, store and remove
Posted by "Jacques Le Roux (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux reassigned OFBIZ-4601:
--------------------------------------
Assignee: Jacques Le Roux
> Entity synchronization is skipping values to create, store and remove
> ---------------------------------------------------------------------
>
> Key: OFBIZ-4601
> URL: https://issues.apache.org/jira/browse/OFBIZ-4601
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 4.0, Release 09.04, Release 10.04, SVN trunk
> Reporter: Patrick Antivackis
> Assignee: Jacques Le Roux
> Attachments: patch-OFBIZ-4601.txt
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira