question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

7.0.18 listObjects broken

See original GitHub issue

Since 7.0.18 we are experiencing errors with minio client and listObjects. I think the issue was introduced by https://github.com/minio/minio-js/pull/877. Also I think there is an issue in the way #877 was merged because xml2js dependency is reintroduced which reverts part of https://github.com/minio/minio-js/pull/861

// ...
const res = await minioClient.listObjects(bucket, objectKey, true)
TypeError: xmlobj.Contents.forEach is not a function
    at parseListObjects (/app/node_modules/minio/dist/main/xml-parsers.js:387:21)
    at DestroyableTransform._flush (/app/node_modules/minio/dist/main/transformers.js:88:19)
    at DestroyableTransform.prefinish (/app/node_modules/readable-stream/lib/_stream_transform.js:138:10)
    at DestroyableTransform.emit (events.js:314:20)
    at prefinish (/app/node_modules/readable-stream/lib/_stream_writable.js:619:14)
    at finishMaybe (/app/node_modules/readable-stream/lib/_stream_writable.js:627:5)
    at endWritable (/app/node_modules/readable-stream/lib/_stream_writable.js:638:3)
    at DestroyableTransform.Writable.end (/app/node_modules/readable-stream/lib/_stream_writable.js:594:41)
    at IncomingMessage.onend (_stream_readable.js:683:10)
    at Object.onceWrapper (events.js:420:28)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gmacmastercommented, Aug 6, 2021

Any ideas as to what soon will be?

1reaction
prakashsvmxcommented, Jun 12, 2021

@fschuetz04 we are planning for a release soon. Please stay tuned.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MySQL Cluster 6.1 - 7.1 Release Notes
Changes in MySQL Cluster NDB 7.0.18 (5.1.47-ndb-7.0.18) (2010-09-03) . ... Program execution failed to break out of a loop after meeting a desired...
Read more >
Search Results - CVE
The mission of the CVE® Program is to identify, define, and catalog publicly disclosed cybersecurity vulnerabilities.
Read more >
minio: Versions - Openbase
bucketExists breaking API change - now properly returns false when bucket doesn't exist. Changelog. set/getBucketPolicy takes/returns policy JSON file (#676) ( ...
Read more >
Changelog - Compas
See the release notes for a comprehensive list of breaking changes. ... build(deps): bump minio from 7.0.18 to 7.0.25 (#1406).
Read more >
minio - Bountysource
listObjects for bucket with "folders" results in TypeError: xmlobj.CommonPrefixes. ... Version: 7.0.18 ... import Minio from 'minio'; not working.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found