SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

Contacts missing after insert via protocol API #317

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE: I understand this bug location if the java client.  I can't find a bug 
submission page for using the protocol directly.

What steps will reproduce the problem?

I have been updating my gmail contacts by PUT to

https://www.google.com/m8/feeds/contacts/default/full

I send entries like:

<entry xmlns='http://www.w3.org/2005/Atom'
       xmlns:batch='http://schemas.google.com/gdata/batch'
       xmlns:gContact='http://schemas.google.com/contact/2008'
       xmlns:gd='http://schemas.google.com/g/2005'
       xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' >
  <category scheme='http://schemas.google.com/g/2005#kind'
            term='http://schemas.google.com/contact/2008#contact' />
  <gd:name>
     <gd:givenName>Noal</gd:givenName>
     <gd:familyName>Crowther</gd:familyName>
  </gd:name>
  <gd:phoneNumber rel='http://schemas.google.com/g/2005#other'
    >801-520-4769 - noel cell</gd:phoneNumber>
  <gd:phoneNumber rel='http://schemas.google.com/g/2005#other'
    >801-886-2002 - noel work</gd:phoneNumber>
  <gd:phoneNumber rel='http://schemas.google.com/g/2005#other'
    >801-359-5118 - tracy work</gd:phoneNumber>
  <gd:email rel='http://schemas.google.com/g/2005#home'
            address='tracy@downtownslc.org' />
  <gd:email rel='http://schemas.google.com/g/2005#home'
            address='noal.eric.crowther@gmail.com' />
  <content type='text'>wife: Tracy</content>
  <gd:structuredPostalAddress rel='http://schemas.google.com/g/2005#other'>
    <gd:street>436 North 1250 West (Oakley street)</gd:street>
    <gd:city>SLC</gd:city>
    <gd:region>UT</gd:region>
    <gd:postcode>84116</gd:postcode>
    <gd:country>USA</gd:country>
  </gd:structuredPostalAddress>
</entry>

It works fine.  I see the contact show up in gmail contacts.
I have been doing this over the course of the last several days.

But then I noticed some of the contacts I have PUT are disappearing.  They 
don't show up in my Contacts now.  For example, the above contact does not 
exist, even though I have PUT it more than once and see it show up.

What version of the product are you using? On what operating system?

I am using protocol 3.0.
OS X 10.5..8

Please provide any additional information below.

I had to restore my contacts to a day ago to get back some of the lost ones.  
But I'm going to have to painstakingly look at every contact I have been adding 
(and sometimes merging with existing one) to make sure I have not lost anything.

Original issue reported on code.google.com by harold.c...@gmail.com on 16 Dec 2010 at 4:44