Results 1 to 4 of 4

Thread: Refresh Contacts retrieved by SOAP call?

  1. #1
    MateoLeFou is offline Senior Member
    Join Date
    Nov 2008
    Posts
    35

    Default Refresh Contacts retrieved by SOAP call?

    I had inadvertently allowed a duplicate contact to get in, and have since fixed this by deleting the offending database record (SOAP admin interface wasn't working correctly for me at the time);

    However, soap calls on the email (which is now unique, and for which there is only one match) are still returning an entry_list with 2 matches. Is there something else I have to do?

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Refresh Contacts retrieved by SOAP call?

    email adresses are related by table email_addr_bean_rel to email_addresses, so there must be a reference to the deleted contact in email_addr_bean_rel.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    MateoLeFou is offline Senior Member
    Join Date
    Nov 2008
    Posts
    35

    Default Re: Refresh Contacts retrieved by SOAP call?

    that sounded great, but no love
    select * from email_addr_bean_rel where bean_id='55d657c4-96a6-f1bf-bfbe-4963d43f16ab' or id='55d657c4-96a6-f1bf-bfbe-4963d43f16ab' or email_address_id='55d657c4-96a6-f1bf-bfbe-4963d43f16ab' limit 6;

    Empty set (0.01 sec)

    Unless I'm misunderstanding that table, that means this isn't the problem.

    Maybe this helps: the email in question is a custom field ("contacts_cstm.username_c"). So sugar might not be treating this as an email. Is there another bean_rel lookup table for other kinds of fields?

  4. #4
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Refresh Contacts retrieved by SOAP call?

    perhaps
    select * from contacts_cstm where id_c='55d657c4-96a6-f1bf-bfbe-4963d43f16ab' ;
    would be better

    or perhaps
    select * from contacts_cstm where id_c not in (select id from contacts);
    would help to find dead custom fragments
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with SOAP get_entry call
    By JMGRipped in forum Developer Help
    Replies: 7
    Last Post: 2012-01-19, 10:19 PM
  2. SOAP call get_entry for EmailAddresses
    By Editha in forum Help
    Replies: 4
    Last Post: 2009-06-12, 08:11 AM
  3. Remote call of Soap file
    By webnetin in forum Developer Help
    Replies: 1
    Last Post: 2008-11-25, 01:08 PM
  4. Replies: 0
    Last Post: 2007-04-25, 03:09 AM
  5. BUG: Soap Call get_entry_list()
    By StephaneZ in forum Developer Help
    Replies: 2
    Last Post: 2005-10-30, 03:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •