Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.
This repository was archived by the owner on May 6, 2025. It is now read-only.

Dragging folder to itself issues a 500 error #33

@emarj

Description

@emarj

This is a minor issue, but I think could be annoying to inexperienced users.

When you drag a folder in itself (maybe because you just do it by accident or you changed you mind) the client tries to move the folder inside itself issuing a 500 error by the server:
rename folder folder/folder: invalid argument

To me the client should not send this request and simply ignore the move/copy behavior when a folder is dragged onto itself. This is the behaviour the user is used to by file explorers in various OSes.

I would gladly fix this myself but at the moment I don't have time for digging into the code.

By the way, thanks for this great project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions