Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Date Time field causes TypeError #18

Closed
trg opened this issue Jul 12, 2014 · 1 comment · Fixed by #20
Closed

Empty Date Time field causes TypeError #18

trg opened this issue Jul 12, 2014 · 1 comment · Fixed by #20

Comments

@trg
Copy link

trg commented Jul 12, 2014

> client.entries({"content_type"=>"<our content type>", :limit=>1000})
TypeError: no implicit conversion of nil into String

The Content Type in question has a non-required "birthdate" Date/Time field. When this field is empty on just one of the Entries of this Content Type (or perhaps was populated, then deleted -- not sure), it causes the entire lookup to fail with the error message shown above. When we populate this field with data, the error does not happen.

@pxlpnk
Copy link
Contributor

pxlpnk commented Jul 16, 2014

@trg I just released a new version (0.3.1) that fixes the issue with non existing fields in the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants