Some bugfixes for import
parent
c79f7c0a18
commit
09ef7b90fa
|
|
@ -69,6 +69,7 @@ public class Contact implements Exportable, Serializable {
|
|||
this.contactId = contactId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue