Closed (fixed)
Project:
Feeds
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2010 at 04:31 UTC
Updated:
11 Nov 2010 at 20:10 UTC
Jump to comment: Most recent file
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 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 commenteduh-oh ... will commit shortly.
Comment #3
alex_b commentedCommitted, thank you.
http://drupal.org/cvs?commit=443252