andersundsehr / aus_driver_amazon_s3

Provides a TYPO3 FAL driver for the Amazon Web Service S3
GNU Lesser General Public License v3.0
21 stars 40 forks source link

[BUGFIX] Fix deleting folders with subfolders #113

Closed cweiske closed 1 year ago

cweiske commented 1 year ago

Instead of passing the folder path (identifier) to the deleteFolder() method, the object of the subfolder was passed.

This led to the exception "Instances of Aws\S3\S3Client cannot be serialized".

Test:

  1. Create folder "subfolder1"
  2. Within "subfolder1", create "subfolder2"
  3. Upload a file into "subfolder2"
  4. Delete "subfolder1".