Sreevijitha / gdata-objectivec-client

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

publishOusideDomain => publishOutsideDomain (typo) #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile and run Examples/DocsSample
2. Get document list
3. Select a document
4. Select a document revision

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

From debug log: 2010-01-18 11:58:46.139 DocsSample[2663:a0f] 
[<GDataEntryDocRevision 
0x57aca0> valueForUndefinedKey:]: this class is not key value coding-compliant 
for the key 
publishOusideDomain.

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

Latest trunk (r420). OSX 10.6.2, XCode 3.2.1. 

Please provide any additional information below.

Introduced in r416 I think, and looks very much like a typo. At least this 
patch makes the sample 
work as expected for me:

Index: Source/Clients/Docs/GDataEntryDocRevision.m
===========================================================
========
--- Source/Clients/Docs/GDataEntryDocRevision.m (revision 420)
+++ Source/Clients/Docs/GDataEntryDocRevision.m (working copy)
@@ -80,7 +80,7 @@
   static struct GDataDescriptionRecord descRecs[] = {
     { @"publish",             @"publish",             kGDataDescBooleanPresent },
     { @"publishAuto",         @"publishAuto",         kGDataDescBooleanPresent },
-    { @"publishOusideDomain", @"publishOusideDomain", kGDataDescBooleanPresent 
},
+    { @"publishOutsideDomain", @"publishOutsideDomain", 
kGDataDescBooleanPresent },
     { nil, nil, 0 }
   };

Original issue reported on code.google.com by oddsim...@gmail.com on 18 Jan 2010 at 11:11

GoogleCodeExporter commented 9 years ago
Right, that's just a typo.  More seriously, the setters for the boolean 
elements in
the revision entry are incorrect (they set the element values to 1 rather than 
true.)
 I'll submit fixes for the revision entry later this week.

Original comment by gregrobbins on 18 Jan 2010 at 6:11

GoogleCodeExporter commented 9 years ago
Fixed in the top-of-trunk sources.

http://code.google.com/p/gdata-objectivec-client/source/detail?r=421

Original comment by grobb...@google.com on 20 Jan 2010 at 1:47

GoogleCodeExporter commented 9 years ago

Original comment by gregrobbins on 20 Jan 2010 at 1:48