craftcms / google-cloud

Google Cloud Storage volume type for Craft CMS.
https://plugins.craftcms.com/google-cloud
MIT License
11 stars 10 forks source link

Folders deleted or moved in Assets are not deleted in Google Cloud #2

Closed croxton closed 6 years ago

croxton commented 6 years ago

If a folder is deleted in Assets, it remains in place in Google Cloud Storage (any files/images inside the deleted folder are however deleted in Google Cloud too).

If a folder is moved to a new location in Assets, the directory remains in the original location in Google Cloud Storage, but the files inside are moved. The directory that was moved is created in the new location and contains the files/images that were moved (as expected). So you end up with two folders, the original (empty) and the copy in the new location (with files inside).

Re-indexing brings back these 'ghost' folders.

Craft Pro 3.0.0-RC15 PHP 7.1.12 MySQL 5.7.20 Google Cloud Storage 1.0.5

andris-sevcenko commented 6 years ago

You'll want to be updated to at least craftcms/cms@2df0a8b, too.

croxton commented 6 years ago

Awesome thank you!