Some bugfixes for import

master
Jens Pelzetter 2022-12-10 21:12:17 +01:00
parent c79f7c0a18
commit 09ef7b90fa
2 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ public class Contact implements Exportable, Serializable {
this.contactId = contactId;
}
@Override
public String getUuid() {
return uuid;
}

View File

@ -38,7 +38,7 @@ public class ContactRepository
@Override
public boolean isNew(final Contact contact) {
return contact.getContactId() == 0;
return contact.getContactId() == 0 || contact.getUuid() == null;
}
@Override