angelazno / google-gdata

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

.net client library ignores any AccountType setting #432

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Here's some example code..
            YouTubeRequestSettings settings = new YouTubeRequestSettings("twitterheatmap", developerKey, username, password);
            settings.Credentials.AccountType = "GOOGLE";

I can see this code in gauthrequest.cs is overwriting the "GOOGLE" value:

            GDataCredentials gdc = new GDataCredentials(gc.Username, gc.getPassword());
            gdc.CaptchaToken = this.factory.CaptchaToken;
            gdc.CaptchaAnswer = this.factory.CaptchaAnswer;
            gdc.AccountType = this.factory.AccountType

What is the expected output? What do you see instead?
I'd like to be able to set the account type to fix the issue I'm seeing here:
http://groups.google.com/group/youtube-api-gdata/browse_thread/thread/102a2c6d59
568a70/

Original issue reported on code.google.com by admin%tw...@gtempaccount.com on 9 Oct 2010 at 6:44

GoogleCodeExporter commented 8 years ago

Original comment by ccherub...@google.com on 7 Dec 2010 at 8:57

GoogleCodeExporter commented 8 years ago
Fixed in rev. 1068

Original comment by ccherub...@google.com on 4 Feb 2011 at 4:26