Skip to content

InMemoryFilesystemAdapter cannot handle moving of folders #1477

Open
@shyim

Description

@shyim
Contributor

Bug Report

I am migrating currently from v1 to v3 and using in the tests the InMemoryFilesystemAdapter. It looks like the move function currently does only handle files and not directory. In a testcase we move folders around and this seems to fail.

Q A
BC Break no
Version 3.0.20

Summary

Create a folder with the InMemoryFilesystemAdapter and try to move it.

How to reproduce

  • Create a folder with a file in it
  • Move that folder to somewhere else (rename)
  • UnableToMove exception is thrown

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @shyim

      Issue actions

        InMemoryFilesystemAdapter cannot handle moving of folders · Issue #1477 · thephpleague/flysystem