yeah, until we fix it (see AGIOS-31) :-)<div><br></div><div>Hopefully your "filtering" would not be needed that long...</div><div><br></div><div>If you are trying to do that, feel free to convert the fix into a patch :-) If you need help on that, let us know :-))</div>
<div><br></div><div>Thanks for looking at AeroGear!</div><div>-Matthias<span></span><br><br>On Wednesday, June 12, 2013, Yavuz Selim YILMAZ wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Thanks. So, what is your recommended client side solution while using the current version of the library? Should I iterate through my responseObject and exclude the NSNull fields?<div><br>
<div>I appreciate your help. Cheers,</div><div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<br>---</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Yavuz Selim Yilmaz</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
SUNY at Buffalo</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Computer Science and Engineering</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
PhD Candidate</div>
</div>
<br><div><div>On Jun 12, 2013, at 3:37 PM, Matthias Wessendorf <<a>matzew@apache.org</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">Hi Yavuz,<div><br></div><div>the "problem" is that the 'null' (for telephone on the first object) is, in Cocoa/ObjC mapped to NSNull. However, NSNull is, unfortunately, not a "valid" PList object/type.</div>
<div>A work around, on your server, would be to do something like: "telephone" => "NULL", or simply exclude all keys where values are "NULL"... :-/<br></div><div><br></div><div>There are ways how we could fix it on the library:</div>
<div>* exclude every key, where value is NSNull (which makes the value 'nil' (not NSNull)</div><div>* see if new 'store' could be written, that simply uses NSJSONSerialization, to store JSON on the "filesystem"</div>
<div><br></div><div>I will create a JIRA ticket for this issue.</div><div><br></div><div>Thanks for the feedback.</div><div><br></div><div>-M</div><div><br></div></div><div>
<br><br><div>On Wed, Jun 12, 2013 at 7:52 PM, Yavuz Selim YILMAZ <span dir="ltr"><<a>yavuzsel@buffalo.edu</a>></span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">here is my response object from log:<div><br></div><div><div> ({</div><div> id = 1;</div><div> mail = "<a>yavuzsel@buffalo.edu</a>";</div>
<div> name = "yavuz";</div><div> telephone = "<null>";</div><div> },</div><div> {</div><div> id = 2;</div><div> mail = "<a>yavuzsel@buffalo.edu</a>";</div>
<div> name = "yavuzsel";</div><div> telephone = "001234";</div><div> }</div><div>)</div><div><br></div><div>thanks,</div><div><div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<br>---</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Yavuz Selim Yilmaz</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
SUNY at Buffalo</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Computer Science and Engineering</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
PhD Candidate</div>
</div>
<br></div><div><div><div><div>On Jun 12, 2013, at 1:49 PM, Matthias Wessendorf <<a>matzew@apache.org</a>> wrote:</div><br></div></div><blockquote type="cite">
<div><div>can u NSLog the '<font><span style="line-height:normal;background-color:rgba(255,255,255,0)">responseObject'?</span></font><br><br>Is that a NSDictionary or NSArray?<div><br></div><div><span></span><br>
<br>On Wednesday, June 12, 2013, Yavuz Selim YILMAZ wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all,<div><br></div><div>I am getting error while saving my response object to my store. Here are my codes:</div>
<div><br></div><div><br></div><div><div>AGPipeline *pipeline = [AGPipeline pipelineWithBaseURL:[NSURL URLWithString:@"localhost"]];</div><div><br></div><div>id<AGPipe> dataPipe = [pipeline pipe:^(id<AGPipeConfig> config) {</div>
<div> [config setName:@"persons"];</div><div> [config setEndpoint:@"get_persons.php"];</div><div> }];</div><div> </div><div>AGDataManager *dm = [AGDataManager manager];</div>
<div><br></div><div>id<AGStore> dataStore = [dm store:^(id<AGStoreConfig> config) {</div><div> [config setName:@"persons"];</div><div> [config setType:@</div></div></div></blockquote></div>
</div></div></blockquote></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><br><br>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>