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.
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.