Merge contacts - Unhandled Promise Rejection: Error: Not implemented
Hi,
when you want to merge contacts, and click merge contacts button, the button starts spinning and keeps on spinning forever.
In the console there is this error
The contact that I'm trying to merge is with GitHub, the other(destination) is not.
Connected to Huly®: UBERF-12294
I was reviewing the code from the browser and I see that when merging, the updateAllRefs method is called inside the MergePersons.svelte file:
For some reason, the function only throws: throw new Error("Not implemented")
I've checked the develop and main branches of the repository, and I see that it's actually implemented: async function updateAllRefs (client: TxOperations, sourceAccount: Person, targetAccount: Person): Promise<Tx[]> {
I've now identified the source of the problem. The version listed in the self-hosted repository deployment is v0.7.252. I looked at the repository tag and it does contain the throw new Error(..). This is now fixed in v0.7.266.
Merging contacts no longer fails with 'Not implemented'. The reference update used during the merge was implemented again for global accounts in #9911, and a later comment in this thread confirms it works in v0.7.266. This looks resolved, so the issue could be closed.
@fondraco — based on the check described above, this looks resolved in the current code. Could you please close this issue if you agree? If you think it is not fixed yet, please describe what still goes wrong (steps, expected vs. actual behaviour), so it can be looked at again.