chaoss / chaoss/grimoirelab-sortinghat

Sorting hat package creates identity with missing information when merged and unmerged

Open
#243 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
58
Forks
89
Avg merge
3d 17h
Merged PRs (30d)
2

Description

When we merge one profile with another, we call sortinghat.api.merge_unique_identities (https://github.com/LF-Engineering/dev-analytics-sortinghat-api/blob/master/app/apis/profiles/apis.py#L190), with a `from` and `to` uuid. The `from` identity is then deleted and added into the `to` identity.

Afterwards, if we unmerge that identity from the `to` identity, for which we use sortinghat.api.move_identity (https://github.com/LF-Engineering/dev-analytics-sortinghat-api/blob/master/app/apis/profiles/apis.py#L269), the `from` identity that was earlier deleted is recreated but it will be missing name, email and other personal details information it previously had.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.