Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In FeedsFileFetcher.inc the sourceForm method's call to mimedetect_mime() is passing the file path in as a string, but mimedetect_mime() expects to get that path as part of a file object.
The result of sending in a string is the message "ERROR: cannot open `' (No such file or directory)" under the file info on the source form.
Comment | File | Size | Author |
---|---|---|---|
#1 | feeds-mimedetect-954080-1.patch | 824 bytes | mlsamuelson |
Comments
Comment #1
mlsamuelson CreditAttribution: mlsamuelson commentedI've attached a patch that sends the $file path value as it would be structured in a file object (i.e. $file->filepath).
Comment #2
alex_b CreditAttribution: alex_b commenteduh-oh ... will commit shortly.
Comment #3
alex_b CreditAttribution: alex_b commentedCommitted, thank you.
http://drupal.org/cvs?commit=443252