ashukhobragade / gdata-objectivec-client

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

waitForTicket's return value has problem #128

Closed GoogleCodeExporter closed 9 years ago

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

1. call |deleteEntry:completionHandler| to get GDataServiceTicket into ticket
2. send ticket, shortest(0.001s) into GDataServiceBase 
|waitForTicket:timeout:fetchedObject:error:|

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

The result of |waitForTicket| is Yes, I should return NO on this case.

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

I am using the latest revision of the gdata-objectivec-client, r714

OS Mac OSX 10.7.2, XCode 4.2.1

Please provide any additional information below.

In r714 fix problem on delete fetches, but I don't know what case is timeout.

In |GDataServiceBase.h| specification, it define |waitForTicket| returns false 
and the returned error is nil, that is timeout.

But in r714, I can't get returns false and error is nil, so I don't know which 
case is timeout.

When I call delete fetches, that will get nil on |fetchedObject| and 
|fetchError|, that should make a special case on timeout.

Original issue reported on code.google.com by superbil on 23 Dec 2011 at 6:38

GoogleCodeExporter commented 9 years ago

Original comment by grobb...@google.com on 24 Dec 2011 at 1:23

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/gdata-objectivec-client/source/detail?r=715

Original comment by grobb...@google.com on 27 Dec 2011 at 2:43

GoogleCodeExporter commented 9 years ago
Thank you!!

Original comment by superbil on 28 Dec 2011 at 2:24