carolinux / gdata-python-client

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

wrong calendars naming on creating in calendars api #433

Closed GoogleCodeExporter closed 9 years ago

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

feed = gd_client_source.GetOwnCalendarsFeed()
for calendar in feed.entry:
    temp_calendar = copy(calendar)
    temp_calendar.id = None
    temp_calendar.link = []
    temp_calendar.content.src = ''
    temp_calendar.title.text = calendar.title.text
    new_calendar = gd_client_destination.InsertCalendar(new_calendar=temp_calendar)

What is the expected output?

created calendar on the other account with the same name

What do you see instead?

created calendar with the id <id>@group.calendar.google.com instead of name

Version gdata-2.0.11

Original issue reported on code.google.com by konrad.s...@gmail.com on 13 Aug 2010 at 12:11

GoogleCodeExporter commented 9 years ago
This test currently passes for me:

http://code.google.com/p/gdata-python-client/source/browse/tests/gdata_tests/cal
endar/service_test.py#113

Which means that I can't reproduce this error.

Does new_calendar.title.text have the correct value?
Does temp_calendar.title.text have the correct value before inserting?

Original comment by joe.gregorio@gmail.com on 10 Sep 2010 at 3:50

GoogleCodeExporter commented 9 years ago

Original comment by ala...@google.com on 7 Oct 2011 at 9:33