diff --git a/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java b/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java index 858e302d..6e8d0af9 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java @@ -1065,10 +1065,11 @@ public abstract class BaseOfficeDataImport extends CsvDataImport { } private HsOfficePersonEntity addPerson(final HsOfficePersonEntity person, final Record contactRecord) { - // TODO: title+salutation: add to person - person.setGivenName(contactRecord.getString("first_name")); - person.setFamilyName(contactRecord.getString("last_name")); - person.setTradeName(contactRecord.getString("firma")); + person.setSalutation(contactRecord.getString("salut").trim()); + person.setTitle(contactRecord.getString("title").trim()); + person.setGivenName(contactRecord.getString("first_name").trim()); + person.setFamilyName(contactRecord.getString("last_name").trim()); + person.setTradeName(contactRecord.getString("firma").trim()); person.setPersonType(determinePersonType(contactRecord)); persons.put(contactRecord.getInteger("contact_id"), person);