Git Product home page Git Product logo

google-gdata's People

Contributors

claudiocherubino avatar ulukaya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

google-gdata's Issues

System.Web.HttpUtility not in CF

None of the Compact Framework examples will compile because
System.Web.HttpUtility is not part of the Compact Framework and/or
HttpUtility.cs is missing from the repository (I think the real issue is
just that missing file, it's reference in one of the projects, I'm hoping
someone has already written a little implementation of HttpUtility for CF
that just needs checking in)

Using 1.0.8, trying to compile \cs\src\VS2005.mobile\GDataMobile.sln


Original issue reported on code.google.com by [email protected] on 20 Nov 2006 at 3:38

409 Conflict Handling is broken

Type: Defect
Server: Calendar

What steps will reproduce the problem?
1. Create an Event, note the sequence number
2. Modify the event
3. Delete or modify the event using the old sequence number

What is the expected output? What do you see instead?
* A 409 Conflict with the new version of the event is expected
* Instead, on a delete, a 200 OK is recieved and the event is deleted
* Instead, on a modification, a 400 Bad Request with the body
  "Sequence ids from event: <id before> and <id after> do not match."

Please provide any additional information below.
The following threads are related:
http://groups-beta.google.com/group/google-calendar-help-dataapi/browse_thread/t
hread/5a091ab0ef943cd
http://groups-beta.google.com/group/google-calendar-help-dataapi/browse_thread/t
hread/baf988e8cc953e2

Original issue reported on code.google.com by [email protected] on 16 Dec 2006 at 3:25

C# AtomFeed.Self and AtomFeed.Feed incorrectly pass in the optional atom:link @type attribute to FindService

AtomFeed's Feed and Self property call the FindService method with an
AtomLink.ATOM_TYPE type parameter. However, when Feed and Self are used to
create a new atom:link element, this type attribute is (acceptably) omitted
from the XML. This causes the FindService not to be able to find the newly
added atom:link. A simple set and get of the Self property shows this in
action:


What steps will reproduce the problem?
1. Run the following code

using System;
using Google.GData.Client;

class Program {
    static void Main() {
        Service service=new Service();
        AtomFeed feed=new AtomFeed(new Uri("http://www.atomfeed.com/"),
service);

        Console.WriteLine("Feed.Self is '" + feed.Self + "'");
        Console.WriteLine("Setting Feed.Self");
        feed.Self="http://www.atomfeed.com/";
        Console.WriteLine("Feed.Self is '" + feed.Self + "'");

        Console.ReadLine();
    }
}

The output produced is:

Feed.Self is ''
Setting Feed.Self
Feed.Self is ''

2. Apply the following patch:

Index: atomfeed.cs
===================================================================
--- atomfeed.cs (revision 9)
+++ atomfeed.cs (working copy)
@@ -248,13 +248,13 @@
         {
             get 
             {
-                AtomLink link =
this.Links.FindService(BaseNameTable.ServiceFeed, AtomLink.ATOM_TYPE);
+                AtomLink link =
this.Links.FindService(BaseNameTable.ServiceFeed, null);
                 // scan the link collection
                 return link == null ? null :
Utilities.CalculateUri(this.Base, this.ImpliedBase, link.HRef.ToString());
             }
             set
             {
-                AtomLink link =
this.Links.FindService(BaseNameTable.ServiceFeed, AtomLink.ATOM_TYPE);
+                AtomLink link =
this.Links.FindService(BaseNameTable.ServiceFeed, null);
                 if (link == null)
                 {
                     link = new AtomLink();
@@ -276,7 +276,7 @@

           get {

-            AtomLink link =
this.Links.FindService(BaseNameTable.ServiceSelf, AtomLink.ATOM_TYPE);
+            AtomLink link =
this.Links.FindService(BaseNameTable.ServiceSelf, null);

             // scan the link collection

@@ -286,7 +286,7 @@

           set {

-            AtomLink link =
this.Links.FindService(BaseNameTable.ServiceSelf, AtomLink.ATOM_TYPE);
+            AtomLink link =
this.Links.FindService(BaseNameTable.ServiceSelf, null);

             if (link == null) {

The output is now:

Feed.Self is ''
Setting Feed.Self
Feed.Self is 'http://www.atomfeed.com/' 


What version of the product are you using? On what operating system?
svn HEAD on WinXP



Original issue reported on code.google.com by [email protected] on 12 Aug 2006 at 10:41

Incorrect handling of HTML Entity encoding while making posts to Blogger.

What steps will reproduce the problem?
1. Using the .NET Client library create a new post with the body as -
&lt;b&gt;I will update this post shortly&lt;/b&gt;
2.
3.

What is the expected output? What do you see instead?
The response that gets de-serialized into an AtomEntry should be -

&amp;lt;b&amp;gt;I will update this post shortly&amp;lt;/b&amp;gt;

Whereas it is -

&lt;b&gt;I will update this post shortly&lt;/b&gt;

What version of the product are you using? On what operating system?
1.0.8 on Windows XP and Windows Server 2003.

Please provide any additional information below.

Fiddler Logs -
Request -
----------------------------------------
POST /feeds/31090276/posts/full HTTP/1.1 
Content-Type: application/atom+xml; charset=UTF-8 
User-Agent: Matrix GService-CS/1.0.0 GDataGAuth-CS/1.0.0 
Authorization: GoogleLogin auth=*****REMOVED******* 
Content-Length: 241 
Expect: 100-continue 
Host: www.blogger.com 


<?xml version="1.0" encoding="utf-8"?> 
<entry xmlns="http://www.w3.org/2005/Atom"> 
  <title type="text">Embedded Test</title> 
  <content type="html">&amp;lt;b&amp;gt;I will update this post 
shortly&amp;lt;/b&amp;gt;</content> 
</entry> 

----------------------------------------
Response -
----------------------------------------
HTTP/1.1 201 
Date: Mon, 04 Dec 2006 17:44:59 GMT 
Server: Apache 
Location: 
http://www.blogger.com/feeds/31090276/posts/full/116525429971157938 
Content-Length: 759 
Content-Type: application/atom+xml; charset=UTF-8 
Set-Cookie: NSC_cmphhfs-fyu=0a1402230050;Version=1;Max-Age=1800;path=/ 


<?xml version='1.0' encoding='UTF-8'?><entry 
xmlns='http://www.w3.org/2005/Atom'><id>http://www.blogger.com/feeds/310902
76/posts/full/116525429971157938</id><published>2006-12-
04T17:44:59.698Z</published><updated>2006-12-04T17:­
44:59.698Z</updated><title 
type='text'>Embedded Test</title><content 
type='html'>&amp;lt;b&amp;gt;I will update this post 
shortly&amp;lt;/b&amp;gt;</content><link rel='alternate' 
type='text/html' 
href='http://swatkatz1.blogspot.com/2006/12/embedded-
test_04.html'></link><link 
rel='self' type='application/atom+xml' 
href='http://www.blogger.com/feeds/31090276/posts/full/116525429971157938'>
</link><link 
rel='edit' type='application/atom+xml' 
href='http://www.blogger.com/feeds/31090276/posts/full/116525429971157938'>
</link></entry> 
----------------------------------------


Original issue reported on code.google.com by [email protected] on 4 Dec 2006 at 8:01

Google Calendar API doesnt accept &amp; in the password

Simply create an account to fetch Calendar data from it and the password 
for that account must contain &.

I am getting the "Error=BadAuthentication" error from Google.

I have got the issue where is the problem.

string postData = GoogleAuthentication.Email + "=" + nc.UserName + "&"; 
                postData += GoogleAuthentication.Password + "=" + 
nc.Password + "&";  
                postData += GoogleAuthentication.Source + "=" + 
this.factory.ApplicationName + "&"; 
                postData += GoogleAuthentication.Service + "=" + 
this.factory.Service + "&"; 
                postData += GoogleAuthentication.AccountType; 

This is what you guys set in QueryAuthToken(NetworkCredential nc) method.

Please tell me a solution

Original issue reported on code.google.com by [email protected] on 12 Feb 2007 at 5:42

XHTML AtomContent getting HTML Encoded

What steps will reproduce the problem?
1. Calling SaveToXml on AtomBase

Using the latest c# SDK on windows

I took a look at the source code... in atomcontent.cs you have

        protected override void SaveInnerXml(XmlWriter writer)
        {
            base.SaveInnerXml(writer);
            WriteEncodedString(writer, this.content);

        }

and then the following in atombase.cs

        static protected void WriteEncodedString(XmlWriter writer, string
content)
        {
            if (writer == null)
            {
                throw new System.ArgumentNullException("writer", "No valid
xmlWriter");
            }
            if (Utilities.IsPersistable(content))
            {
                string encoded = Utilities.EncodeString(content);
                writer.WriteString(encoded);
            }
        }

I think it should be calling WriteRaw on the xml writer if the content type
is anything other than "html".

Original issue reported on code.google.com by [email protected] on 13 Oct 2006 at 10:00

C# AtomEntry Uri setters are missing link.Rel

link.Rel = .... is missing from both the SelfUri property and the EditUri
property.

Patch below:

Index: atomfeedentry.cs
===================================================================
--- atomfeedentry.cs    (revision 9)
+++ atomfeedentry.cs    (working copy)
@@ -276,6 +276,7 @@
                 if (link == null)
                 {
                     link = new AtomLink();
+                    link.Rel = BaseNameTable.ServiceEdit;
                     this.Links.Add(link);
                 }
                 link.HRef = value;
@@ -301,6 +302,7 @@
                 if (link == null)
                 {
                     link = new AtomLink();
+                    link.Rel = BaseNameTable.ServiceSelf;
                     this.Links.Add(link);
                 }
                 link.HRef = value;

Original issue reported on code.google.com by [email protected] on 12 Aug 2006 at 9:01

Missing value for default visibility in meta-feed

Type: Enhancement
Client: none


I propose a gCal or other element to be added to the calendar meta-feed,
allowing developers to programatically retrieve the value for the default
visibility. This could be achieved by adding a gd:visibility element to the
meta-feed, or creating a new gCal element.

This is useful, since currently, the following element can be found in an
Event kind:

<gd:visibility value="http://schemas.google.com/g/2005#event.default"/>

It is not possible for the Client to know, which visibility value is
represented by default.

Original issue reported on code.google.com by [email protected] on 12 Oct 2006 at 9:13

Calendar does not accept XHTML content

What steps will reproduce the problem?
1. submit a new calendar entry with content.type = xhtml
2. query for that entry
3. entry comes back with content.type = text, and markup is stripped

What is the expected output? What do you see instead?
What i expect is that xhtml output is stored. if that is not possible, i 
expect that this insertion fails with a useful error message. 

Please use labels and text to provide additional information.

Original issue reported on code.google.com by [email protected] on 16 Oct 2006 at 10:17

All events get a gd:reminder element, no matter which value is specified

Type: Defect
Client: none


What steps will reproduce the problem?
1. Create/Edit an event without a reminder -or-
2. Create/Edit an event with a reminder of 20 minutes


What is the expected output? What do you see instead?
* The reminder time is expected to be valued.
* The reminder is ALWAYS set to 10 minutes, regardless of its value


Please provide any additional information below.

This event entry is sent:
 --------------------------------------------------------
<entry xmlns:gd="http://schemas.google.com/g/2005"
xmlns="http://www.w3.org/2005/Atom">
  <category scheme="http://schemas.google.com/g/2005#kind"
term="http://schemas.google.com/g/2005#event"/>
  <title type="text">basic item test</title>
  <content type="text">description</content>
  <author>
    <name>Philipp Kewisch</name>
    <email>[email protected]</email>
  </author>
  <gd:transparency
value="http://schemas.google.com/g/2005#event.opaque"/>
  <gd:eventStatus
value="http://schemas.google.com/g/2005#event.confirmed"/>
  <gd:where valueString="location"/>
  <gd:when startTime="2006-09-11T18:00:00-04:00"
endTime="2006-09-11T20:00:00-04:00"/>
  <gd:visibility
value="http://schemas.google.com/g/2005#event.confidential"/>
</entry>
--------------------------------------------------------

Notice how the <gd:when> item does not have any reminders. Now I get a
response that contains the following <gd:when>:
--------------------------------------------------------
<gd:when startTime='2006-09-12T00:00:00.000+02:00'
endTime='2006-09-12T02:00:00.000+02:00'><gd:reminder
minutes='10'></gd:reminder></gd:when>
--------------------------------------------------------

I have set a default reminder of 10 minutes in the UI, so it is
comprehensable why the reminder shows up, but there should be a way to
create an event with the API without setting a reminder. I suggest
sending a <gd:when> that contains no <gd:reminder> should not create
one, even if the UI has a default reminder. You could still supply the
default reminder through the feed of available calendars or such. 

Original issue reported on code.google.com by [email protected] on 15 Oct 2006 at 4:00

Nant is a more appropriate build tool than Ant

It seems a really strange choice to use Ant build scripts rather than
Nant. Nant is extremely mature and has been around for years and years
(since 2000 IIRC)

In addition, Mono ships with Nant.


I've created a first stab at a Nant build script by porting from the Ant
script. There is one major problem though; it appears that although Mono
ships NUnit.Framework (and places it in the gac), Nant is unable to find
this and therefore doesn't pass the appropriate /references argument to the
compiler (mcs).

The solution to this would be to ship nunit.framework.dll with the gdata
sources and reference this from both the vs2003 and the Nant build scripts.
All projects I've worked on before have done this, and most of the projects
I found online while researching this problem do the same.

So, the attached build script has the Unit Tests build task commented out.

Original issue reported on code.google.com by [email protected] on 8 Dec 2006 at 10:25

Attachments:

VB.Net 2005 client - service.Insert method fails

The below code example would cause the client application to hang (infinit 
loop). Any ideas please??? Thanks a lot.

1. Create VB.Net 2005 Windows application project.
2. Add Reference to gdata assembly.
3. Add command button onto a Form1.

Here goes my code for the button click event handler.


Imports Google.GData.Client
Imports System.Xml
Imports System


Class Form1

    Private Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click
        Try
            Dim doc As New XmlDocument
            Dim elt As XmlElement = doc.CreateElement("prefix",
"localName", "namespaceURL")
            elt.InnerText = "SomeText"

            Dim entry As New AtomEntry

            With entry
                .Title.Text = "MyTitleText"
                .ExtensionElements.Add(elt)
            End With

            Dim service As New Service
            Dim insertEntry As AtomEntry = service.Insert(New
Uri("URL"), entry)

        Catch ex As Exception
            Debug.Print(ex.Message)
        End Try

    End Sub

End Class

What is the expected output? What do you see instead?
A: service_NewAtomEntry does not get fired. Application is not responding 
and enters in an infinite loop.

What version of the product are you using? On what operating system?
A: I have tried both 1.0.2.25336 and 1.0.3.23367 versions.

Please provide any additional information below.
A: I suspect the problem is in ParseEntry fuction.

Original issue reported on code.google.com by [email protected] on 28 Jul 2006 at 7:56

GData C# API Problem with AtomContent.Content and Blogger (Not Beta)

What steps will reproduce the problem?

//I attempt to retrieve data from Blogger (not Beta) as follows:
FeedQuery fquery = new FeedQuery();
Service googleservice = new Service();
googleservice.Credentials = new NetworkCredential("USERNAME", "PASSWORD");
fquery.Uri = new Uri("https://www.blogger.com/feeds/blogID/posts/full");  

AtomFeed stwfeed = googleservice.Query(fquery);
//Print results to page
Response.Write(stwfeed.Entries[0].Title.Text);
Response.Write("<br />");
Response.Write(stwfeed.Entries[0].Content.Content);


What is the expected output? What do you see instead?

I would expect the title of the blog to be output on the first line,
followed by the content of the blogger post on the following lines. 
Instead, only the title is displayed, even though the content is present in
the feed.


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

I'm using version 1.0.5.24565 of the gdata.dll on Windows XP with only the
.NET 2.0 framework installed.

Original issue reported on code.google.com by [email protected] on 2 Oct 2006 at 5:19

Missing gd:when and redundant gd:reminder

Type:normal
Client:none

What steps will reproduce the problem?
GET
http://www.google.com/calendar/feeds/[email protected]
oogle.com/private/full?max-results=2147483647

This is an example of an event being returned. Some parts are shortened to
keep this post clean:
-----------------------------
<entry xmlns="http://www.w3.org/2005/Atom">
<id>http://www.google.com/calendar/feeds/cdmq594k9vdvcapn530cnhg96k%40gro...</id
>
<published>006-10-04T13:35:37.000Z</published>
<updated>2006-10-04T13:35:56.000Z</updated>
<category scheme="http://schemas.google.com/g/2005#kind"
term="http://schemas.google.com/g/2005#event"/>
<title type="text>dinner until november</title>
<content type="text"/>
<link rel="alternate" .../>
<link rel="self" .../>
<link rel="edit" .../>
<author>
<name>Philipp Kewisch</name>
<email>[email protected]</email>
</author>
<gd:eventStatus .../><gd:visibility .../>
<gCal:sendEventNotifcations .../>
<gd:transparency .../>
<gd:recurrence ...>...correct ical string</gd:recurrence>
<gd:reminder xmlns:gd="http://schemas.google.com/g/2005" minutes="10"/>
<gd:where xmlns:gd="http://schemas.google.com/g/2005"/>
</entry>
----------------------------- 


Expected results:
* A gd:when element should be in the entry
* There should be no gd:reminder as a child to entry

Actual results:
* The gd:when element is missing
* The gd:reminder element is not inside a gd:when element


The only way to find out the start time would be to calculate using DTSTART
in gd:recurrence.


Original issue reported on code.google.com by [email protected] on 12 Oct 2006 at 9:35

Enter one-line summary

What steps will reproduce the problem?
Add reference to gdata and gcalendar in a vb 2005 express project then try 
to use Google.GData.Calendar.CalendarService

You get the following error

Indirect reference is being made to assembly gdata version 1.0.5.27162, 
which contains 'Google.GData.Calendar.CalendarService'. This Project 
references a prior version of gdata version 1.0.5.24565. To 
use 'Google.GData.Calendar.CalendarService', you must replace the 
reference to gdata with version 1.0.5.27162 or higher.

Original issue reported on code.google.com by [email protected] on 11 Sep 2006 at 1:36

Enter one-line summary

What steps will reproduce the problem?
1. trying to compile the .NET library for Windows Mobile
2. when trying to compile the GBaseMobile project, the following error i
returned:

G:\var\Projects\VS2k5\google-gdata\clients\cs\src\gbase\gbaseentry.cs(103,16):
error CS0246: The type or namespace name 'Stats' could not be found (are
you missing a using directive or an assembly reference?)

What is the expected output? What do you see instead?

That the Google.GData.GoogleBase.dll get built.

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

Latest code from subversion as of 12:18 Easetern, 2007/01/12. Windows XP.

Please provide any additional information below.
Compiling with VisualStudio 2005 Pro, for Windows Mobile, .NET CF.

Original issue reported on code.google.com by [email protected] on 12 Jan 2007 at 5:20

Sample Code In ColdFusion

ColdFusion MX runs on a JRun Server Java back-end and should have no 
proglem running the Java libraries. Could use some sample ColdFusion code 
to call the libraries to get started for those of us not familiar with 
Java code.

Original issue reported on code.google.com by rhickman on 6 Sep 2006 at 10:03

Allow Timezone handeling for specific events

Type: enhancement
Client: all

Please provide any additional information below.


In short, converting all times to UTC is not feasible for international
Travelers and edge cases like DST. More information can be found at
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread
/d0d5cf1b0f947243/

Original issue reported on code.google.com by [email protected] on 15 Oct 2006 at 4:14

SaveToXml should not automatically encode html entities.

What steps will reproduce the problem?
1. Make a new post and save it using the following code snippet and 
the .NET client library.
-----------------------------
AtomEntry entry = new AtomEntry(); 
entry.Content.Content = "<b> Bold </b>"; 
entry.Content.Type = "html"; 
entry.Title.Text = "testing"; 


Service service = new Service(); 
NetworkCredential nc = new NetworkCredential(m_userName, m_password); 
service.Credentials = nc; 


AtomEntry postedEntry = service.Insert(new Uri(m_Url), entry); 
System.IO.MemoryStream stream = new System.IO.MemoryStream(); 
postedEntry.SaveToXml(stream); 
string sData = System.Text.Encoding.UTF8.GetString(stream.ToArray()); 
stream.Close(); 

----------------------------- 

What is the expected output? What do you see instead?

When I look at postedEntry - content is "&lt;b&gt;bold&lt;/b&gt;" and 
type is "html". When I call postedEntry.SaveToXml, the resulting xml 
string I get contains - 
"<content 
type=\"html\">&amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;</content>". The 
SaveToXml encoded &lt; to &amp;lt; which I think is incorrect. 

What version of the product are you using? On what operating system?
1.0.8 on Windows XP and Windows Server 2003.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 4 Dec 2006 at 8:13

Cannot set multiple reminders

Server-Calendar
Type-Enhancement

What steps will reproduce the problem?
1. Create an event using raw HTTP requests which has two gd:reminder elements.

What is the expected output? What do you see instead?
I expect the two reminders to be correctly added to the event. Currently,
only one reminder is shown. The documentation says this is possible. I
think this is needed to make it easier for applications to set a snooze
time. Also this would probably allow snoozing in the Google Calendar UI.

Please provide any additional information below.
Related newsgroup post:
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread
/1aadebbf33b16c7e

Related documentation:
http://code.google.com/apis/gdata/elements.html#gdReminder (Example #2)

Original issue reported on code.google.com by [email protected] on 4 Feb 2007 at 7:44

Enter one-line summary

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


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


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 5 Feb 2007 at 6:58

Google Calendar API doesnt accept &amp; in the password

Simply create an account to fetch Calendar data from it and the password 
for that account must contain &.

I am getting the "Error=BadAuthentication" error from Google.

I have got the issue where is the problem.

string postData = GoogleAuthentication.Email + "=" + nc.UserName + "&"; 
                postData += GoogleAuthentication.Password + "=" + 
nc.Password + "&";  
                postData += GoogleAuthentication.Source + "=" + 
this.factory.ApplicationName + "&"; 
                postData += GoogleAuthentication.Service + "=" + 
this.factory.Service + "&"; 
                postData += GoogleAuthentication.AccountType; 

This is what you guys set in QueryAuthToken(NetworkCredential nc) method.

Please tell me a solution

Original issue reported on code.google.com by [email protected] on 12 Feb 2007 at 5:42

Spreadsheets Logs in to Hosted Account Rather Than Google Account

What steps will reproduce the problem?
1. Create an email address in a GAfyD Account (Eg. [email protected])
2. Use this same address to create a Google Account to use with Docs &
Spreadsheets.
3. Make sure both have the same username / password.
4. Login to Docs & Spreadsheets, verify the account and create a new
spreadsheet.
4. Use the .NET api to authenticate using this username / password
combination and try to get a list of available spreadsheets.

What is the expected output? What do you see instead?
I would expect to successfully authenticate and see the new spreadsheet in
my list. Instead, I successfully authenticate - but I get back an empty
list (because for most of us, Docs & Spreadsheets isn't integrated into GAfyD).

What version of the product are you using? On what operating system?
I'm using the latest binary release of the .NET client (0.9.4).

Please provide any additional information below.
I think this is happening due to the change that authenticates against
Hosted accounts before trying Google Accounts. The solution is to force
Spreadsheets to always authenticate against Google Accounts (as this is
currently the only valid way to login to Spreadsheets). I've attached the
source code that enables this 'forced' authentication client-side. Ideally,
your authentication server would check and automatically do a 'Google
account' authentication for services that aren't available on a hosted account.

Original issue reported on code.google.com by reto.meier on 18 Feb 2007 at 4:42

Attachments:

C# gdata API voilates atom-spec atom:link rule

Setting the SelfUri property of an AtomEntry to an empty string causes the
href attribute of a atom:link element to be omitted. This is in violation
of the atom spec.

What is the expected output? What do you see instead?

With entry set to an instance of an AtomEntry class, 

    entry.SelfUri = new AtomUri("");
will produce 
    <link rel="self" type="application/atom+xml" />

The Atom spec says:
    atom:link elements MUST have an href attribute



What version of the product are you using? On what operating system?
svn HEAD on WinXP



Original issue reported on code.google.com by [email protected] on 11 Aug 2006 at 5:58

AtomUri Change Request

This is not so much as issue just more a critique on the codeing done on
AtomUri.cs:

You have the following lines of code in the source:

        public static int Compare(AtomUri theOne, AtomUri theOther)
        {
            if (theOne == null && theOther == null)
            {
                return 0;
            }
            if (theOther == null)
            {
                return 1; 
            }
            if (theOne == null)
            {
                return -1; 
            }
            return String.Compare(theOne.ToString(), theOther.ToString());

        }

I would recommend the following changes that I have attached.  Please take
this under consideration, because it would make my life much easier when
compariing URI's.

Original issue reported on code.google.com by nberardi on 25 Aug 2006 at 12:25

Attachments:

Occurrences have an edit url, but are not updatable

What steps will reproduce the problem?

The following code is POSTed to
http://www.google.com/calendar/feeds/[email protected]
oogle.com/private/full/172rad2qdntpjniv588jua3ckg_20061012T170000Z/62135683200?g
sessionid=kAClXnUcMkk
---------------------------------
<entry xmlns:gd="http://schemas.google.com/g/2005"
xmlns="http://www.w3.org/2005/Atom">
  <category scheme="http://schemas.google.com/g/2005#kind"
term="http://schemas.google.com/g/2005#event"/>
  <title type="text">dinner until november</title>
  <content type="text"/>
  <author>
    <name>Philipp Kewisch</name>
    <email>[email protected]</email>
  </author>
  <gd:transparency
value="http://schemas.google.com/g/2005#event.opaque"/>
  <gd:eventStatus
value="http://schemas.google.com/g/2005#event.confirmed"/>
  <gd:where valueString="2"/>
  <gd:when startTime="2006-10-12T19:00:00+02:00"
endTime="2006-10-12T20:00:00+02:00">
    <gd:reminder minutes="10"/>
  </gd:when>
  <gd:extendedProperty name="X-MOZ-ALARM-LAST-ACK" value=""/>
  <gd:visibility
value="http://schemas.google.com/g/2005#event.default"/>
</entry>
-------------- 


What is the expected output? 
* The single occurrence should be updated with the new information
* Or: There should be no edit url

What do you see instead?
* A 404 Not Found error is recieved
* The Item contains an edit url


Original issue reported on code.google.com by [email protected] on 12 Oct 2006 at 9:30

Recurrance rule fails processing on the server

What steps will reproduce the problem?
1. Simply create a recurring event using this data: 

DTSTART;TZID=/scheduleworld.com/Olson_20041115_1/Europe/Copenhagen:20040619 
DURATION:P1D 
RRULE:FREQ=YEARLY;BYMONTH=6;BYMONTHDAY=19 
BEGIN:VTIMEZONE 
TZID:/scheduleworld.com/Olson_20041115_1/Europe/Copenhagen 
X-LIC-LOCATION:Europe/Copenhagen 
BEGIN:DAYLIGHT 
TZOFFSETFROM:+0100 
TZOFFSETTO:+0200 
TZNAME:CEST 
DTSTART:19700329T020000 
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU 
END:DAYLIGHT 
BEGIN:STANDARD 
TZOFFSETFROM:+0200 
TZOFFSETTO:+0100 
TZNAME:CET 
DTSTART:19701025T030000 
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU 
END:STANDARD 
END:VTIMEZONE 


What is the expected output? What do you see instead?
I expect the entry to be inserted fine. 

Instead I see: 
Failed to process recurrence rule  
DTSTART;TZID=/scheduleworld.com/Olson_20041115_1/Europe/Copenhagen:20040619 
DURATION:P1D 
... 


What version of the product are you using? On what operating system?
gdata 1.0.3, linux 2.6, Java 1.5.0_08 

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 17 Oct 2006 at 1:30

ParseContent() incorrectly advances reader

What steps will reproduce the problem?
1. Parse multiple entries with content elements
2. if (MoveToStartElement(reader) == true) will advance the reader to the 
next entry when it just needs to read the data in the current element

What is the expected output? What do you see instead?
When parsing a feed with 26 entries, only 13 are found and the content of 
the 13 is the entry XML for the other 13.

What version of the product are you using? On what operating system?
1.0.9.3
Windows 2003 SP1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Jan 2007 at 2:24

Google Calendar API doesnt accept &amp; in the password

Simply create an account to fetch Calendar data from it and the password 
for that account must contain &.

I am getting the "Error=BadAuthentication" error from Google.

I have got the issue where is the problem.

string postData = GoogleAuthentication.Email + "=" + nc.UserName + "&"; 
                postData += GoogleAuthentication.Password + "=" + 
nc.Password + "&";  
                postData += GoogleAuthentication.Source + "=" + 
this.factory.ApplicationName + "&"; 
                postData += GoogleAuthentication.Service + "=" + 
this.factory.Service + "&"; 
                postData += GoogleAuthentication.AccountType; 

This is what you guys set in QueryAuthToken(NetworkCredential nc) method.

Please tell me a solution

Original issue reported on code.google.com by [email protected] on 12 Feb 2007 at 5:50

Makefile to build C# client without requiring ant.

Hello,

To reduce the dependency on Ant, I am providing the attached Makefile that
replicates everything the build.xml file does for doing C# compilations.

It will work out of the box, and will not require ant and the dependencies
that get the `csc' task working (for some reason the JPackage effort does
not have it as part of the defaults, and its not easy to find).

It has the standard targets: all, clean, install, uninstall, test

Original issue reported on code.google.com by [email protected] on 10 Jan 2007 at 7:13

Attachments:

All day events have incorrect gd:when elements

Type: Defect
Client: None

What steps will reproduce the problem?
1. Add/Edit an all day event with the following line:
   <gd:when startTime="2006-09-02"/>

What is the expected output? What do you see instead?
* The returned event contains the following line:
  <gd:when startTime='2006-09-01' endTime='2006-09-02'><gd:reminder
   minutes='10'></gd:reminder></gd:when>
* The Day is off by one.
* I expect the line to be the same as I posted

Original issue reported on code.google.com by [email protected] on 15 Oct 2006 at 3:54

GetRequestStream fails unknown exception, on CF

I'm using the CF on Windows Mobile 5 to interface will calendars. Querying
a calendar is fine, but posting a new entry fails.
Google.GData.Client.GetRequestStream() crashes with an unknown exception,
using quick watch to change the request content length to something above 0
(default seems to be -1) stops it crashing, but then a no response
exception is thrown a little further on.
request.cs is revision 54

Original issue reported on code.google.com by [email protected] on 3 Dec 2006 at 7:15

error to insert new item into beta.blogger.com

insert new item into beta.blogger.com,

new item entity is expected, but got a HTTP 302 found status code.

I am using version 1.0.7, and the OS is windows XP SP2

exception throw from request.cs Execute method,
the old www.blogger.com works fine, only beta.glogger.com has trouble.

Original issue reported on code.google.com by [email protected] on 6 Nov 2006 at 3:50

RecurrenceException is not tested

In general, using a projection=composite feed does not seem to be well
tested, if tested at all. RecurrenceException is done, but needs some testing.

Original issue reported on code.google.com by [email protected] on 28 Jul 2006 at 11:05

C# UnitTest issues (invalid config, incorrect doc, no csproj)

1) There is an Ant build script for unittests, but there is no .csproj for
VS.Net
2) The unittests.dll.config file should have the configSections element as
the first child of configuration (.Net 2 [via Nant] errors due to the
invalid placement, I didn't test under .Net 1.1)
3) The readme.txt file says:
  "- localHost. This string identifies the host all read/write tests are run"
This is incorrect. The correct item is called "defHost".
4) Visual Studio 1.1 is mentioned throughout the readme. I don't believe
there ever was a product called Visual Studio 1.1 - I can only remember
back as far as Visual Studio 97. 

What version of the product are you using? On what operating system?
svn HEAD on XP



Original issue reported on code.google.com by [email protected] on 11 Aug 2006 at 8:25

gdata Build Event uses incorrect macro

The current build event is:
copy "$(SolutionDir)..\signing\*.*" 
"$(ProjectDir)\obj\$(ConfigurationName)\*.*"

The build event should be:
copy "$(ProjectDir)..\signing\*.*" "$(ProjectDir)\obj\$(ConfigurationName)\"

What is the expected output? What do you see instead?
I reference the gdata project from my own solution. Since my solution is in
a different location to the svn HEAD solution a file not found error occurs:
The system cannot find the path specified.
The gdata project should be using the gdata project location as it's
starting point in the path, not that of the overall solution.

Note there are two changes in the build event above:
1) $(SolutionDir) was replaced with $(ProjectDir)
2) The last *.* is unnecessary.

What version of the product are you using? On what operating system?
svn HEAD on winXP



Original issue reported on code.google.com by [email protected] on 11 Aug 2006 at 11:50

Cannot add formulas to cells in .NET Client

What steps will reproduce the problem?
1. Can be repoduced with the sample spreadsheets project:
2. Select a spreadsheet feed
3. Select a worksheet feed
4. Try to add / change a cell by entering a formula value (Eg. =SUM(A1:A5))
and pressing 'submit'.
5. View the spreadsheet via web app

What is the expected output? What do you see instead?
Expect to see the formula result. Instead we get a message saying the range
A1 is unknown, as though the feed projection settings were not set to full.

What version of the product are you using? On what operating system?
Seeing this on the current binary downloads for the .NET client library.

Please provide any additional information below.
Checked the feed settings, everything seems to be set to 'full' at each stage.

Original issue reported on code.google.com by reto.meier on 11 Dec 2006 at 7:11

Not possible to create an Event without a reminder on the default calendar.

Server-Calendar

What steps will reproduce the problem?
1. Create an event without a reminder via API on your default calendar.

What is the expected output? What do you see instead?
* A <gd:reminder minutes="-1"/> is returned from the server. This should
not exist.

Please provide any additional information below.
See also 
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread
/4c6f3451b52a0e18/

Original issue reported on code.google.com by [email protected] on 3 Feb 2007 at 8:31

Blogger returns incorrectly encoded data.

What steps will reproduce the problem?
1. Use the .NET client library to create a new post with the following 
content -
<b>I will update this post shortly</b>
2.
3.

What is the expected output? What do you see instead?
The received Xml response from Blogger should be -

&lt;b&gt;I will update this post shortly&lt;/b&gt;

Whereas it is -

&lt;b>I will update this post shortly&lt;/b>
i.e. for some reason in the returned xml, the > is not encoded to &gt; 

What version of the product are you using? On what operating system?
1.0.8 Windows XP and Windows Server 2003.


Please provide any additional information below.
Fiddler Request - 
-------------------------------------------------- 
POST /feeds/31090276/posts/full HTTP/1.1 
Content-Type: application/atom+xml; charset=UTF-8 
User-Agent: Matrix GService-CS/1.0.0 GDataGAuth-CS/1.0.0 
Authorization: GoogleLogin auth=****REMOVED**** 
Content-Length: 225 
Expect: 100-continue 
Host: www.blogger.com 


<?xml version="1.0" encoding="utf-8"?> 
<entry xmlns="http://www.w3.org/2005/Atom"> 
  <title type="text">Embedded Test</title> 
  <content type="html">&lt;b&gt;I will update this post 
shortly&lt;/b&gt;</content> 
</entry> 
-------------------------------------------------- 


Fiddler Response - 
---------------------------------------------------- 
HTTP/1.1 201 
Date: Mon, 04 Dec 2006 17:48:46 GMT 
Server: Apache 
Location: 
http://www.blogger.com/feeds/31090276/posts/full/116525452659045767 
Content-Length: 753 
Content-Type: application/atom+xml; charset=UTF-8 
Set-Cookie: NSC_cmphhfs-fyu=0a14020f0050;Version=1;Max-Age=1800;path=/ 


<?xml version='1.0' encoding='UTF-8'?><entry 
xmlns='http://www.w3.org/2005/Atom'><id>http://www.blogger.com/feeds/310902
76/posts/full/116525452659045767</id><published>2006-12-
04T17:48:46.571Z</published><updated>2006-12-04T17:­
48:46.571Z</updated><title 
type='text'>Embedded Test</title><content type='html'>&lt;b>I will 
update this post shortly&lt;/b></content><link rel='alternate' 
type='text/html' 
href='http://swatkatz1.blogspot.com/2006/12/embedded-
test_11652545265904576...></link><link 
rel='self' type='application/atom+xml' 
href='http://www.blogger.com/feeds/31090276/posts/full/116525452659045767'>
</link><link 
rel='edit' type='application/atom+xml' 
href='http://www.blogger.com/feeds/31090276/posts/full/116525452659045767'>
</link></entry> 
---------------------------------------------------- 




Original issue reported on code.google.com by [email protected] on 4 Dec 2006 at 8:09

Recurrance rule using custom TZID incorrectly processed.

What steps will reproduce the problem?
1. Create a calendar entry with recurrence data like this:

DTSTART;TZID=/scheduleworld.com/Olson_20041115_1/America/Toronto:20061010T100000
DURATION:PT30M
RRULE:FREQ=WEEKLY;COUNT=3;INTERVAL=2;BYDAY=TU
BEGIN:VTIMEZONE
TZID:/scheduleworld.com/Olson_20041115_1/America/Toronto
X-LIC-LOCATION:America/Toronto
BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700405T020000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU
END:DAYLIGHT
END:VTIMEZONE


What is the expected output? What do you see instead?

expected: 3 counts of the event

see: 1 count

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

n/a - using Google calendar

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 7 Nov 2006 at 8:32

Blogger does accept XHTML content

What steps will reproduce the problem?
1. submit a new blogger entry with content.type = xhtml
2. query for that entry
3. entry comes back with content.type = HTML, and markup is encoded

What is the expected output? What do you see instead?
What i expect is that xhtml output is stored. if that is not possible, i 
expect that this insertion fails with a useful error message. 

Note that the echoed back entry on the insertion does correctly contain the 
xhtml markup.

Original issue reported on code.google.com by [email protected] on 16 Oct 2006 at 10:19

Enter one-line summary

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


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


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 Feb 2007 at 5:49

Check for Content element type of text throws exception

What steps will reproduce the problem?
1. Parse an entry with a content element without a type attribute
2. if (content.Type.Equals("text")) throws NullReferenceException
3.

What is the expected output? What do you see instead?
According to the Atom spec for the type attribute of the content element 
of an entry:
If neither the type attribute nor the src attribute is provided, Atom 
Processors MUST behave as though the type attribute were present with a 
value of "text".

What version of the product are you using? On what operating system?
1.0.9.3
Windows 2003 SP1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Jan 2007 at 2:19

Link rel=&quot;next&quot; missing from Calendar Query

What steps will reproduce the problem?
1. Follow
http://www.google.com/calendar/feeds/[email protected]/publi
c/full?start-min=2006-09-15&start-max=2007-04-13
to request all UK holidays over a 7 month period. Note that 25 results are
returned.
2. Follow
http://www.google.com/calendar/feeds/[email protected]/publi
c/full?start-min=2006-09-15&start-max=2007-04-13&max-results=1
which sets the max entry count to 1. Link rel="next" is missing.
3. Follow
http://www.google.com/calendar/feeds/[email protected]/publi
c/full?start-min=2006-09-15&start-max=2007-04-13&max-results=30
which sets the max entry count to 30. Notice that there are 30 results.

What is the expected output? What do you see instead?
Link rel="next" is missing in all three inputs. There are at least 30
results so we should be able to get further chunks for 25 and 1 results;
presumingly we should have a "next" link when we have all the results on a
single page too.

What version of the product are you using? On what operating system?
1.0.5, Windows XP.

Please provide any additional information below.
Have tried this with various private and public calendars, with the same
result. First noticed when EventQuery.NextChunk in the C# client library
was consistently null.

Original issue reported on code.google.com by [email protected] on 13 Oct 2006 at 10:08

Investigate .NET 2.0 connection issues

Several users reported dropped connections using .NET 2.0 runtimes. The
most promising lead on why is described below:

"
So I got to thinking... what is different about the (Http)WebRequest in
framework version 2... and it turns out that there are some
differences.

http://geekswithblogs.net/denis/archive/2005/08/16/50365.aspx
http://support.microsoft.com/default.aspx?scid=kb;EN-US;915599

Anyway... I suspect that forcing the protocol version to 1.0 or
monkeying with keep alive in request.cs should do it... I'll give it a
whirl soon.
"

Original issue reported on code.google.com by [email protected] on 28 Jul 2006 at 11:04

Unable to download the gdata.cs.zip

Hi all,

I have tried to download the gdata.cs.zip file several times but it is 
just downloading 35%-45% randomly and saying that download completed. but 
downloaded zip is not a valid archive.
Please check the link...

Mrinal Pandya

Original issue reported on code.google.com by [email protected] on 3 Jan 2007 at 11:05

Unable to download gdta.cs.zip

Hi,

  I could not able to download Gdata.cs.zip file from : 
http://code.google.com/apis/gdata/download/gdata.cs.zip 

It is getting disconnected after downloading (14% or 19%.. Randomly).. 

Please check the URL.

Thanks
Kishore

Original issue reported on code.google.com by [email protected] on 3 Jan 2007 at 4:09

Google.GData.Calendar.EventEntry.Delete() throws NullReferenceException

What steps will reproduce the problem?

1. get a CalendarSevice object
2. call the .Query() method and get an EventFeed object
3. iterate through EventFeed.Entries
3. try to call EventEntry.Delete() on one of the entries

What is the expected output? What do you see instead?

No expected output as .Delete() is void return, just expect entry to be
deleted from Google Calendar. System throws a NullReferenceException and
VisualStudio 2005 Pro can longer continue debugging. Normally VS2K5 would
just throw the exception back up the call stack if you try to continue with
an unresolved exeption.

If you call EventEntry.Update() and on the returned value then call
.Delete(), the event is actually deleted, but the application still throws
a NullReferenceException and the VS2K5 debugger reacts the same way.

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

Latest C# .NET GData client library via Subversion, compiled for PocketPC 2003.

Please provide any additional information below.

Application is compiled for .NETCF 2.0 on PocketPC 2003 and testing is done
on a Dell Axim x50v running Windows Mobile PocketPC 2003 SE, A05 ROM from Dell.

Original issue reported on code.google.com by [email protected] on 12 Jan 2007 at 2:58

Attachments:

<gd:extendedProperty> are not unsettable

Type: Defect
Client: none

What steps will reproduce the problem?
1. Create an event that has a <gd:extendedProperty>
2. Modify the event, omitting the <gd:extendedProperty>

What is the expected output? What do you see instead?
* After the event is modified, it still contains the gd:extendedProperty,
which keeps its old value.
* The gd:extendedProperty should be removed.

Original issue reported on code.google.com by [email protected] on 15 Oct 2006 at 4:04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.