research-software-directory / RSD-as-a-service

This repo contains the new RSD-as-a-service implementation
https://research.software
27 stars 14 forks source link

Duplicated (primary) maintainer in the maintainer list #1230

Closed dmijatovic closed 3 months ago

dmijatovic commented 5 months ago

If the primary maintainer uses invite link it is shown twice in the list, as primary maintainer (cannot be deleted) and as maintainer. The RPC use union which should ensure unique entries, however in this case the value is_primary is different and therefore two entries are generated.

This error is present in organisation and communities maintainer lists. The underlying RPC are maintainers_of_organisation and maintainers_of_community.

Example

image