I am trying to get an autocomplete file field to work with my existing Amazon S3 files. Currently, when I use this option it just gives me a field that doesn't work. It gives me an error "Audio Recording field is required" no matter what I put in there. It would at least be nice if it gave me an error saying that the specified file doesn't exist. In any case, no autocomplete search happens and it just plain doesn't seem to work. Nothing shows up in the system log either.
Any ideas? Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| Capture.PNG | 4.43 KB | deggertsen |
Comments
Comment #1
deggertsen commentedIt is now giving me an autocomplete field, but doesn't come up with anything as I enter in files despite there being a lot of files on S3. I'm wondering if drupal has to somehow index the files available on the S3 server and how that might be done?
Comment #2
deggertsen commentedConfirmed that when I upload files to S3 via the upload field that I am able to use autocomplete to reference the same file again when creating another node. The problem still exists with files that were already on the S3 server.
This issue has been discussed here as well: #1277152: Integration with Filefield Sources
Not sure where the best place to address the issue is.
Comment #3
visualfox commentedIn order to get autocomplete to reference a S3's file not previously uploaded via Drupal you need to have a way to sync with the S3's bucket. The ticket you reference is probably a better place to have this conversation. And as soon as you have a way to either add/discover or sync with the S3's bucket your issue with autocomplete will go away.
Comment #4
deggertsen commentedThanks for your response. I will see if I can get somebody to help me on the Amazon S3 module as it does appear that the problem needs to be solved there.