Issue 11424

registry-sync: DiGIR contact name written to both first name and last name

11424
Reporter: kbraak
Assignee: fmendez
Type: Bug
Summary: registry-sync: DiGIR contact name written to both first name and last name
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-06-14 15:46:00.504
Updated: 2013-12-16 17:50:22.447
Resolved: 2012-06-21 13:59:04.655
        
Description: http://kyle.gbif.org:8080/gbrds/browse/agent?uuid=7b8563e8-b619-11e1-9773-0024e8565763

Take a look at the contact.

The first and last name are the same.

Digir gives only "name" as you can see from here: http://digir.ansp.org/digir/DiGIR.php

I would recommend only writing this information into First Name, unless you have some very clever way of parsing it. ]]>
    


Author: lfrancke@gbif.org
Comment: I don't know what the implications of this are but I suggest (everytime a name is involved) just dropping the first and last name concept and just store everything in a single "name" field: http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
Created: 2012-06-20 11:34:50.364
Updated: 2012-06-20 11:34:50.364


Author: fmendez@gbif.org
Comment: Migrations scripts were migrating names incorrectly from the portal db, portal_agent.name was being copied to contact.name AND contact.last_name
Created: 2012-06-21 13:59:04.688
Updated: 2012-06-21 13:59:04.688