From c4cb0369166754002020f9659968a4c7ba6c3c06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 24 Aug 2016 11:08:21 +0200 Subject: [PATCH] Please cherry-pick: - unsetting all phone numbers make them disconnected from the contact instance, better is to make them managed (merge) --- .../mxchange/jcontacts/contact/PizzaContactSessionBean.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java b/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java index 1d1d5d6..4f9aa39 100644 --- a/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java +++ b/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java @@ -282,11 +282,6 @@ public class PizzaContactSessionBean extends BasePizzaDatabaseBean implements Co throw new IllegalStateException(MessageFormat.format("contact.contactId={0} is not valid.", contact.getContactId())); //NOI18N } - // Remove all referenced phone numbers - contact.setContactFaxNumber(null); - contact.setContactLandLineNumber(null); - contact.setContactMobileNumber(null); - // Merge cellphone, land-line and fix Contact managedContact = this.mergeContactData(contact); -- 2.39.5