estuary icon indicating copy to clipboard operation
estuary copied to clipboard

GET /collections/:coluuid directory search is not working as intended

Open pythonicode opened this issue 2 years ago • 1 comments

Describe the bug After uploading multiple files to a collection with a path starting with / not all of them show up in the directory /.

To Reproduce Upload two files with the paths /0c54b536be3573bc.p(1).woff2/0c54b536be3573bc.p(1).woff2 and /prep.txt/prep.txt. Call GET /collection/:coluuid to see the two entries. Call GET /collection/:coluuid?dir=/ and you will see only 1 entry.

Expected behavior The root directory/ should have all files with path's starting with / and not be missing any.

Actual behavior The root directory / is missing paths starting with /.

Additional context Discussion on Slack: https://filecoinproject.slack.com/archives/C016APFREQK/p1677178196959089

pythonicode avatar Feb 24 '23 05:02 pythonicode

Should be addressed by #934

pythonicode avatar Feb 28 '23 05:02 pythonicode