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

Extension to unit tests that demonstrates bug in migration code#487

Open
kristoffermollerhoj wants to merge 1 commit intoapple:masterfrom
One-com:users/kristoffermollerhoj/test-shared-collections-reconcile
Open

Extension to unit tests that demonstrates bug in migration code#487
kristoffermollerhoj wants to merge 1 commit intoapple:masterfrom
One-com:users/kristoffermollerhoj/test-shared-collections-reconcile

Conversation

@kristoffermollerhoj
Copy link
Copy Markdown

@kristoffermollerhoj kristoffermollerhoj commented Jun 7, 2017

The problem occurs in CrossPodHomeSync.sharedToCollectionsReconcile when more than one collection with same ownerUID shared to the migrating user exists.

More specifically, the problem seems to be located in the function txdav.common.datastore.sql_sharing.SharingHomeMixin.sharedToBindRecords where the dict homeIDs cannot contain more than one value per home id.

Please note that this contribution will make the unit tests fail.

…econcile migration code.

The problem occurs when more than one collection with same ownerUID shared to the migrating user exists.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant