goellner / statamic-assets-organized

Organizes Statamic assets in subdirectories
MIT License
1 stars 1 forks source link

Can't select existing assets #7

Open andyra opened 5 years ago

andyra commented 5 years ago

I am able to Browse for and select an existing file via Assets Organized, but when I try to save the entry, I get a toast error saying "There was an issue saving your data. More details can be found in your logs."

The salient error in the logs appears to be:

[2019-03-17 15:45:54] dev.ERROR: League\Flysystem\FileExistsException: File already exists at path: episodes/30-party-mechanic/cover-art.jpg in /Users/andy/Dev/tes/statamic/vendor/league/flysystem/src/Filesystem.php:402

I don't get this error when uploading a brand new file, only when selecting one that's already on the server. I'm using S3 as my asset container.