Skip to content
This repository has been 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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kristoffermollerhoj
Copy link

@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