Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Long term infinite loops in Update Step #50

Merged
merged 7 commits into from
Jun 20, 2018

Conversation

nihadness
Copy link
Contributor

Current behavior before PR

If two instances are synchronized and there are objects that are updated on one of the instances, then these objects will be handled in Sync processes from both sides forever. It happens because while synchronizing from the source, in the destination instance 'modified' time gets updated. Later when the source runs Sync, the destination sends these objects as recently modified objects and so on.

Desired behavior after PR is merged

Modification times are not 'overriden' in Update Step, so only local changes will be sent to Remotes.

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@nihadness nihadness added the bug label Jun 4, 2018
@nihadness nihadness self-assigned this Jun 4, 2018
@nihadness
Copy link
Contributor Author

Although the last commit is not only about update step, I pushed in to this PR since it is just a missing = while comparing 2 DateTime values.

@nihadness nihadness requested a review from xispa June 7, 2018 08:31
@xispa xispa merged commit bee2388 into senaite:master Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants