samihadas / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

The Name field of contact is empty in Google Contact Web while these contacts are create by .NET Google API #294

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. The code follows
ContactsService testservice = new ContactsService("testContacts");
testservice.setUserCredentials(ACCOUNTNAME, PW);

for (int j = 0; j < 5; j++)
{
    ContactEntry newEntry = new ContactEntry();

    newEntry.Title.Text = string.Format("{0:D4}_Contact", j);
    newEntry.Emails.Add(new EMail(string.Format("{0:D4}_Create@home.com", 
j), Google.GData.Extensions.ContactsRelationships.IsHome));
    Uri feedUri = new Uri(ContactsQuery.CreateContactsUri("default"));

    ContactEntry CreatedEntry = (ContactEntry)testservice.Insert(feedUri, 
newEntry);
}
2. Build this code and run.
3. Check these 5 contacts in Goolge Contact web

What is the expected output? What do you see instead?
We expect that 5 contacts should follows
Name:0000_Contact
HomeEmail:0000_Create@home.com

Name:0001_Contact
HomeEmail:0001_Create@home.com

Name:0002_Contact
HomeEmail:0002_Create@home.com

Name:0003_Contact
HomeEmail:0003_Create@home.com

Name:0004_Contact
HomeEmail:0004_Create@home.com

Name:0005_Contact
HomeEmail:0005_Create@home.com

BUT we only see these 5 contacts instead
Name:
HomeEmail:0000_Create@home.com

Name:
HomeEmail:0001_Create@home.com

Name:
HomeEmail:0002_Create@home.com

Name:
HomeEmail:0003_Create@home.com

Name:
HomeEmail:0004_Create@home.com

Name:
HomeEmail:0005_Create@home.com

The value of Name field disappear in each contact

What version of the product are you using? On what operating system?
Revision 955 in SVN Google .NET API
Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by ronxi...@gmail.com on 26 Nov 2009 at 1:35

GoogleCodeExporter commented 8 years ago
Sorry, I find out that I could assign value to ContactEntry.Name.FullName
and The value of Name field would display in Google Contact Web
Could you please close this issue?
Thank you

Original comment by ronxi...@gmail.com on 26 Nov 2009 at 9:24

GoogleCodeExporter commented 8 years ago
No problem.

Frank Mantek

Original comment by fman...@gmail.com on 26 Nov 2009 at 11:14