You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we call client.listObjects("someBucketName") for a bucket that contains a "folder" (i.e. an object with a trailing slash), the callback actually hangs! When we hack xml-parsers.parseListObjectsQuery to wrap the body with a try/catch, we see:
TypeError: xmlobj.CommonPrefixes.forEach is not a function
at parseListObjects (xml-parsers.js:382)
further modifying that function to print out xmlobj.CommonPrefixes gives:
{Prefix: "f1/"}
We see this in 7.0.17.
With 7.0.18, the client still hangs, but now the hanging exception is:
TypeError: xmlobj.Contents.forEach is not a function
at parseListObjects (xml-parsers.js:388)
I suspect that 7.0.18 just has more bugs, because CommonPrefixes is still not forEach-able, in 7.0.18; it's still not an array:
When we call
client.listObjects("someBucketName")
for a bucket that contains a "folder" (i.e. an object with a trailing slash), the callback actually hangs! When we hack xml-parsers.parseListObjectsQuery to wrap the body with a try/catch, we see:further modifying that function to print out
xmlobj.CommonPrefixes
gives:We see this in 7.0.17.
With 7.0.18, the client still hangs, but now the hanging exception is:
I suspect that 7.0.18 just has more bugs, because CommonPrefixes is still not forEach-able, in 7.0.18; it's still not an array:
Related? #886
The text was updated successfully, but these errors were encountered: