Announcement

Collapse
No announcement yet.

EmailAddress are lost after merging two Leads

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • EmailAddress are lost after merging two Leads

    When I merge two leads no email address is retained. I am using 5.5.1.

    I see the api request to merge seems successful the email address will not be found in the resulting merged lead...

    One of the leads had no email address.

    Updated with more data (including the entities):

    Code:
    GET http://127.0.0.1/api/v1/Lead/5c093c8344048c153 HTTP/1.1
    Host: 127.0.0.1
    Connection: keep-alive
    DNT: 1
    Espo-Authorization-By-Token: true
    Accept: application/json, text/javascript, */*; q=0.01
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Vivaldi/2.2.1388.37
    Referer: http://127.0.0.1/
    Accept-Encoding: gzip, deflate, br
    Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7
    
    
    HTTP/1.1 200 OK
    Server: nginx/1.13.3
    Date: Fri, 21 Dec 2018 17:46:43 GMT
    Content-Type: application/json
    Connection: keep-alive
    X-Powered-By: PHP/7.1.8
    Expires: 0
    Last-Modified: Fri, 21 Dec 2018 17:46:43 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Content-Length: 2020
    
    {"id":"5c093c8344048c153","name":"DUMMY LEAD","deleted":false,"salutationName":"","firstName":"","lastName":"","title":null,"status":"Non Qualificato","source":"Telemarketing @Home","industry":"Advertising","opportunityAmount":null,"website":"","addressStreet":"via delle palme 1","addressCity":"Roma","addressState":"RM","addressCountry":"Italia","addressPostalCode":"00123","emailAddress":null,"phoneNumber":"3333333333","doNotCall":false,"description":"","createdAt":"2018-12-06 15:13:07","modifiedAt":"2018-12-21 16:57:43","accountName":"DUMMY LEAD","cluster":"","rating":"Silver","tipologiaCliente":"MICRO (fino a 3 SIM)","partitaIVA":"","insegna":"","capitaleSociale":"Non Disponibile","dipendenti":"Non Disponibile","fatturato":"Non Disponibile","ruolo":"Decisore","funzione":"Titolare","annoCostituzione":0,"clienteVodafone":false,"codiceVodafone":null,"listaEsclusi":false,"coperturaGEAFisso":["IperFibra 100M\/Bits VULA"],"coperturaGEAMobile":[],"nrCentrale":"","distanzaCentrale":"53","distanzaCabinet":"5653","zona":"L5 - CEPRANO","area":"L - FROSINONE","capDenominazione":"AMASENO","attivo":"Attivo","referente":"","nomecentrale":"S. ANTONIO (RM)","nomeReferente":"","cognomeReferente":"","opportunityAmountCurrency":null,"emailAddressIsOptedOut":null,"opportunityAmountConverted":null,"emailAddressData":[],"phoneNumberData":[{"phoneNumber":"3333333333","primary":true,"type":"Office"},{"phoneNumber":"111111111111","primary":false,"type":"Office"}],"createdById":"5bb7354e2c5ccb797","createdByName":"Power Admin","modifiedById":"5bb7354e2c5ccb797","modifiedByName":"Power Admin","assignedUserId":"5bb7354e2c5ccb797","assignedUserName":"Power Admin","teamsIds":["5a0d9fb4ca099923d","5a2acdc88dee4329f"],"teamsNames":{"5a0d9fb4ca099923d":"Call Center","5a2acdc88dee4329f":"Top Management"},"campaignId":null,"createdAccountId":null,"createdContactId":null,"createdOpportunityId":null,"capId":"5badd86a23e4487a7","capName":"03021","centralitelefonicaId":"5b3dbe42028b56f76","centralitelefonicaName":"774023"}
    Code:
    GET http://127.0.0.1/api/v1/Lead/5c1d1aa3b79c6001a HTTP/1.1
    Host: 127.0.0.1
    Connection: keep-alive
    
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Vivaldi/2.2.1388.37
    Referer: http://127.0.0.1/
    Accept-Encoding: gzip, deflate, br
    Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7
    
    
    HTTP/1.1 200 OK
    Server: nginx/1.13.3
    Date: Fri, 21 Dec 2018 17:46:44 GMT
    Content-Type: application/json
    Connection: keep-alive
    X-Powered-By: PHP/7.1.8
    Expires: 0
    Last-Modified: Fri, 21 Dec 2018 17:46:44 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Content-Length: 1982
    
    {"id":"5c1d1aa3b79c6001a","name":"LEAD 2","deleted":false,"salutationName":"","firstName":"","lastName":"","title":null,"status":"Non Qualificato","source":"Other","industry":"Advertising","opportunityAmount":null,"website":null,"addressStreet":"LEAD 2 ADDRESS","addressCity":"Roma","addressState":"RM","addressCountry":"Italia","addressPostalCode":"00432","emailAddress":"lead2@lead2.com","phoneNumber":"44444444444","doNotCall":true,"description":null,"createdAt":"2018-12-21 16:53:55","modifiedAt":"2018-12-21 16:53:55","accountName":"LEAD 2","cluster":"","rating":"Silver","tipologiaCliente":"MICRO (fino a 3 SIM)","partitaIVA":null,"insegna":null,"capitaleSociale":"Non Disponibile","dipendenti":"Non Disponibile","fatturato":"Non Disponibile","ruolo":"Decisore","funzione":"Titolare","annoCostituzione":0,"clienteVodafone":false,"codiceVodafone":null,"listaEsclusi":false,"coperturaGEAFisso":["ADSL 20M\/Bits ULL"],"coperturaGEAMobile":["3G Indoor","Non Coperto"],"nrCentrale":null,"distanzaCentrale":"123","distanzaCabinet":"123","zona":"L4 - SORA","area":"L - FROSINONE","capDenominazione":"FONTANA LIRI","attivo":"Attivo","referente":null,"nomecentrale":"SETTEVILLE","nomeReferente":null,"cognomeReferente":null,"opportunityAmountCurrency":null,"emailAddressIsOptedOut":false,"opportunityAmountConverted":null,"emailAddressData":[{"emailAddress":"lead2@lead2.com","lower":"lead2@lead2.com","primary":true,"optOut":false,"invalid":false}],"phoneNumberData":[{"phoneNumber":"44444444444","primary":true,"type":"Office"}],"createdById":"5bb7354e2c5ccb797","createdByName":"Power Admin","modifiedById":null,"modifiedByName":null,"assignedUserId":null,"assignedUserName":null,"teamsIds":["5a2acdc88dee4329f"],"teamsNames":{"5a2acdc88dee4329f":"Top Management"},"campaignId":null,"createdAccountId":null,"createdContactId":null,"createdOpportunityId":null,"capId":"5badd7a988b7e879a","capName":"03035","centralitelefonicaId":"5b3dbe42035d62224","centralitelefonicaName":"774026"}
    Code:
    POST http://127.0.0.1/api/v1/Lead/action/merge HTTP/1.1
    Host: 127.0.0.1
    Connection: keep-alive
    Content-Length: 269
    Content-Type: application/json
    Accept: application/json, text/javascript, */*; q=0.01
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Vivaldi/2.2.1388.37
    DNT: 1
    Referer: http://127.0.0.1/
    Accept-Encoding: gzip, deflate, br
    Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7
    
    {"attributes":{"addressStreet":"LEAD 2 ADDRESS","emailAddressIsOptedOut":false,"emailAddress":"lead2@lead2.com","coperturaGEAFisso":["ADSL 20M/Bits ULL"],"coperturaGEAMobile":["3G Indoor","Non Coperto"]},"targetId":"5c093c8344048c153","sourceIds":["5c1d1aa3b79c6001a"]}
    HTTP/1.1 200 OK
    Server: nginx/1.13.3
    Date: Fri, 21 Dec 2018 17:47:11 GMT
    Content-Type: application/json
    Connection: keep-alive
    X-Powered-By: PHP/7.1.8
    Expires: 0
    Last-Modified: Fri, 21 Dec 2018 17:47:11 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Content-Length: 4
    
    true
    Code:
    GET http://127.0.0.1/api/v1/Lead/5c093c8344048c153 HTTP/1.1
    Host: 127.0.0.1
    Connection: keep-alive
    Accept: application/json, text/javascript, */*; q=0.01
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Vivaldi/2.2.1388.37
    Referer: http://127.0.0.1/
    Accept-Encoding: gzip, deflate, br
    
    
    HTTP/1.1 200 OK
    Server: nginx/1.13.3
    Date: Fri, 21 Dec 2018 17:47:12 GMT
    Content-Type: application/json
    Connection: keep-alive
    X-Powered-By: PHP/7.1.8
    Expires: 0
    Last-Modified: Fri, 21 Dec 2018 17:47:12 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Content-Length: 2097
    
    {"id":"5c093c8344048c153","name":"DUMMY LEAD","deleted":false,"salutationName":"","firstName":"","lastName":"","title":null,"status":"Non Qualificato","source":"Telemarketing @Home","industry":"Advertising","opportunityAmount":null,"website":"","addressStreet":"LEAD 2 ADDRESS","addressCity":"Roma","addressState":"RM","addressCountry":"Italia","addressPostalCode":"00123","emailAddress":null,"phoneNumber":"3333333333","doNotCall":false,"description":"","createdAt":"2018-12-06 15:13:07","modifiedAt":"2018-12-21 17:47:11","accountName":"DUMMY LEAD","cluster":"","rating":"Silver","tipologiaCliente":"MICRO (fino a 3 SIM)","partitaIVA":"","insegna":"","capitaleSociale":"Non Disponibile","dipendenti":"Non Disponibile","fatturato":"Non Disponibile","ruolo":"Decisore","funzione":"Titolare","annoCostituzione":0,"clienteVodafone":false,"codiceVodafone":null,"listaEsclusi":false,"coperturaGEAFisso":["ADSL 20M\/Bits ULL"],"coperturaGEAMobile":["3G Indoor","Non Coperto"],"nrCentrale":"","distanzaCentrale":"53","distanzaCabinet":"5653","zona":"L5 - CEPRANO","area":"L - FROSINONE","capDenominazione":"AMASENO","attivo":"Attivo","referente":"","nomecentrale":"S. ANTONIO (RM)","nomeReferente":"","cognomeReferente":"","opportunityAmountCurrency":null,"emailAddressIsOptedOut":null,"opportunityAmountConverted":null,"emailAddressData":[],"phoneNumberData":[{"phoneNumber":"3333333333","primary":true,"type":"Office"},{"phoneNumber":"44444444444","primary":false,"type":"Office"},{"phoneNumber":"111111111111","primary":false,"type":"Office"}],"createdById":"5bb7354e2c5ccb797","createdByName":"Power Admin","modifiedById":"5bb7354e2c5ccb797","modifiedByName":"Power Admin","assignedUserId":"5bb7354e2c5ccb797","assignedUserName":"Power Admin","teamsIds":["5a0d9fb4ca099923d","5a2acdc88dee4329f"],"teamsNames":{"5a0d9fb4ca099923d":"Call Center","5a2acdc88dee4329f":"Top Management"},"campaignId":null,"createdAccountId":null,"createdContactId":null,"createdOpportunityId":null,"capId":"5badd86a23e4487a7","capName":"03021","centralitelefonicaId":"5b3dbe42028b56f76","centralitelefonicaName":"774023"}
    Last edited by tothewine; 12-21-2018, 05:51 PM.

  • #2
    Could you attach a screenshot of the merge view before clicking the merge button? Thanks.

    Comment


    • #3
      In the end the problem solved itself after update

      Comment

      Working...
      X