Closed GoogleCodeExporter closed 9 years ago
Forgot to say that i use OS X 10.8.2
Original comment by oliver.n...@zweitag.de
on 25 Jan 2013 at 4:49
Trying to reproduce, but in both cases I'm getting back the correct object
type. Mostly same env -- OS X 10.8.2, ruby 1.9.3 (different patch level),
ruby-api-client-0.6.2.
The bug description is a bit suspect. In the case of drive.files.list, the
result should be of type Google::APIClient::Schema::Drive::V2::File, which is
exactly what I'm getting. result.data.items shouldn't ever be a ParentReference
for that query.
Can you attach code to reproduce & share the files/folders in question?
Original comment by sba...@google.com
on 16 Feb 2013 at 12:24
Same problem here.
I'm using the reference example of file "list" in ruby, the
"retrieve_all_files" function.
It's returning an array of ParentReference
Original comment by jphorta....@gmail.com
on 18 Feb 2013 at 4:00
Still unable to reproduce. Could either of you:
- Check which version of autoparse you're using
- Attach a complete sample
- Try running with a different ruby version (e.g. 1.9.2)
complete sample is important here since I'm unable to reproduce with either of
the two cases mentioned. There used to be a bug in autoparse < 0.3.2 that
caused a similar issue, but only in certain cases.
Original comment by sba...@google.com
on 19 Feb 2013 at 3:19
FYI, ran into a similar issue with another API and finally tracked this down to
an issue in autoparse. The reason it wasn't reproducible is it depends on which
methods are called and in which order which is why the complete sample was
needed. Fortunately got this from another developer working on another API, but
pretty sure the root cause is the same.
Will push a new version in the next couple of days with a fix.
Original comment by sba...@google.com
on 26 Mar 2013 at 3:26
The autoparse library has been updated to 0.3.3.
Original comment by sporkmonger
on 26 Mar 2013 at 4:14
Original comment by sba...@google.com
on 26 Mar 2013 at 4:44
Original issue reported on code.google.com by
oliver.n...@zweitag.de
on 25 Jan 2013 at 4:46