Issue 12917

Registry synchronisation: allow contact twice if appearing in different roles

12917
Reporter: ahahn
Assignee: kbraak
Type: Bug
Summary: Registry synchronisation: allow contact twice if appearing in different roles
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-03-05 10:51:45.865
Updated: 2013-03-15 17:30:18.18
Resolved: 2013-03-15 17:30:18.153
        
Description: A contact in the registry can have one of two roles: administrative or technical. In cases where the same contact (:= combination of name and email) appears in the registry in both roles, the registry synchroniser currently only choses one to synchronise into the portal database. This is too narrow an interpretation of contact identity, and needs to be changed so that it
- _always_ synchronises the primary technical and the primary administrative contact, regardless of whether they are the same name+email combination or not
- decides contact identity for all contacts by name+email+role instead of by name+email

Example:
http://gbrds.gbif.org/browse/agent?uuid=493fe050-055d-11d8-b84f-b8a03c50a862 contains James P. Dines in the roles of both (the primary) administrative contact and one of the technical contacts. Synchronisation (http://kyle.gbif.org:8080/portal/datasets/provider/104) only handles the technical one, omitting the administrative role, so that the publisher appears to have no primary administrative contact in spite of the contact registration.]]>
    


Author: kbraak@gbif.org
Comment: Changes committed in https://code.google.com/p/gbif-indexingtoolkit/source/detail?r=1820 will fix this problem. Still need to redeploy a new version for the changes to take effect.
Created: 2013-03-13 18:15:45.156
Updated: 2013-03-13 18:15:45.156


Author: kbraak@gbif.org
Comment: Changes deployed. Proof the same contact can be added twice with 2 roles can be seen here: http://kyle.gbif.org:8080/portal/datasets/provider/104
Created: 2013-03-15 17:30:18.178
Updated: 2013-03-15 17:30:18.178