Closed (fixed)
Project:
Extractor
Version:
6.x-1.0-alpha2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2010 at 15:39 UTC
Updated:
13 Apr 2010 at 21:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedSame issue...
Comment #2
jvieille commentedSame issue (first install)
Comment #3
vivien.genet commentedSame issue :( but not an upgrade... I have install it for the first time
Comment #4
serkan.arikusu commentedsame issue, initial install, the same error also editing node
Comment #5
pianomansam commentedI ran into this issue as well. I am not using this plugin with Feeds API. Is anyone else using it with that module? I did come up with a solution, though. It seems that the include function that pulls in the simple extrator library is not being called because $config is empty on line 93. $library is set to a default, however, so a quick solution would be to rewrite the extractor_extract function as follows:
function extractor_extract($text, $library = 'extractor_simple', $config = array()) {
$config['extractors'] = $library;
extractor_include($config['extractors']);
$extract = "{$library}_extract";
return $extract($text, $config);
}
Comment #6
alex_b commentedIt should actually be
extractor_include($library);Patch attached should fix bug.
Comment #7
alex_b commentedTested, committed - this is fixed. Thank you for reporting.