Some bugfixes for import
parent
c79f7c0a18
commit
09ef7b90fa
|
|
@ -69,6 +69,7 @@ public class Contact implements Exportable, Serializable {
|
||||||
this.contactId = contactId;
|
this.contactId = contactId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getUuid() {
|
public String getUuid() {
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ public class ContactRepository
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isNew(final Contact contact) {
|
public boolean isNew(final Contact contact) {
|
||||||
return contact.getContactId() == 0;
|
return contact.getContactId() == 0 || contact.getUuid() == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue