Superbalist / flysystem-google-cloud-storage

Flysystem Adapter for Google Cloud Storage
MIT License
265 stars 105 forks source link

Renaming and moving Folders does not work #100

Open BowlingX opened 5 years ago

BowlingX commented 5 years ago

If I try to rename or move a Directory, I'm getting a File not found at path: $FolderName Exception in both cases. The folder exists and deleting works as well. Moving actual files works without any problems.

It seems to be that a folder rename and move requires a trailing slash in the name, however the flysystem's normalization removes those, and it seems to be inconsistent, because deleting actually works.

I'm using the package with symfony and the (latest) following versions of dependencies:

{
"google/cloud-storage":  "^1.12",
"superbalist/flysystem-google-storage": "^7.2",
"league/flystem": "^1.0",
"league/flysystem-bundle": "^1.1"
}

Thank you.

SuperToma commented 2 years ago

+1