Closed cweiske closed 2 weeks ago
This is probably a MinIO specific problem that might not affect S3, because when renaming a folder in MinIO, all children are renamed automatically.
moveFolderWithinStorage
and renameSubFolder
are similare but have one difference:
moveFolderWithinStorage
first renames the folder, then the childrenrenameSubFolder
first renames the children, then the folder.A solution would be to make both behave the same: First rename children, then rename the folder.
This happens when an empty folder is moved via drag and drop.
The comment above is not correct; when the folder is empty, MinIO simply does not return the "Contents" key in the response.
When moving an existing folder via drag-and-drop into another folder, a 500 HTTP error is returned. The folder is moved, though.
Stack trace:
Relevant code:
This is with TYPO3 12.4.13 and andersundsehr/aus-driver-amazon-s3 1.12.1. This is old, but the same code is still in current master.