We are switching to use the S3 File System module (https://www.drupal.org/project/s3fs) to manage our files.
In our testing, we found that any File Entity Paths setting is ignored, and instead, the path included with the field is used. If the field path is blank, it is saved at the root of the file folder. If it has a value, it is placed there, rather than the File Entity Path location.
It is working correctly for File Entities that have a field folder path set, and bypasses the FE Paths settings entirely.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fe_paths-s3fs_support-2969080-3.patch | 2.99 KB | sgdev |
Comments
Comment #2
sgdev commentedComment #3
sgdev commentedWe have a working patch. The solution was actually more simple than originally thought.
Only three small changes were necessary:
1) Allow s3 as a valid stream wrapper in
fe_paths_file_process_available.2) Modify admin page to include s3 settings if the module is active.
3) Add an install update to set s3 default values if FE Paths settings have been previously saved.
Please review attached, thanks.
Comment #4
sgdev commented