Skip to content

mmpu parts threw "AssertError: path (string) is required" for a committed upload #340

@askfongjojo

Description

@askfongjojo

I have a simple one-part upload and did a mmpu parts before/after committing it:

[root@base64-16-4-1 ~]# mmpu parts $uid
/angela.fong/uploads/e6b/e6b61194-5a41-c2ff-8895-f3f88d6d3103/0

[root@base64-16-4-1 ~]# mmpu commit $uid 4b7b28b4-a707-4997-b9b3-a8791a19c221

[root@base64-16-4-1 ~]# mmpu parts $uid
mmpu: AssertionError: path (string) is required

The commit itself was successful. If the parts command is not meant to be used for committed uploads, it'll be better to return an explicit error than throw an assertion error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions