geremyk / google-gdata

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

Cannot select Contacts by group #189

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Perform a valid ContactsQuery with the groups property set to a valid
group Uri. 

A ContactsFeed with the contacts in that group is expected but the result
is always null.

I've debugged the source and have found the problem. When determining the
feed type, the if statement is finding "/m8/feeds/groups/" in the query string.

On line 87 of contactservice.cs in the Google.GData.Contacts namespace the
line is

if (e.Uri.ToString().IndexOf("/m8/feeds/groups/") != -1)

and  should be 

if (e.Uri.AbsolutePath.IndexOf("/m8/feeds/groups/") != -1)

This successfully fixes the problem.

Original issue reported on code.google.com by jesse.ma...@gmail.com on 25 Nov 2008 at 10:35

GoogleCodeExporter commented 8 years ago
Here is a rebuilt DLL with the fix

Original comment by jesse.ma...@gmail.com on 25 Nov 2008 at 10:41

Attachments:

GoogleCodeExporter commented 8 years ago
Good catch. Is fixed in subverion, will be in the next release

Original comment by fman...@gmail.com on 26 Nov 2008 at 8:08