Skip to content

bug: Deleting multiple files from the web fails #1286

@artonge

Description

@artonge

The web UI tries to lock the folder for every delete operation, this fails if a delete is already ongoing.

We should probably reuse the existing lock token.
We should also store whether a lock is being requested as some requests are failing due to a DB duplicate constraint error.

This is probably an issue for other operations.

Request flow when deleting 5 files simultanously:
Image

500 error:
Image

403 error:
Image

cc @susnux

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions