Hi
I created an imagefield on a vocabulary and a entityreference field on the node pointing into it, the mapping shows up nicely but it doesn't actually work.
I am using the xmlpath_parser, the debugging shows the file to map, but the file doesn't seem to download.
exception 'Exception' with message 'Invalid enclosure <image size="mega"/>' in /bar/sites/all/modules/feeds/plugins/FeedsParser.inc:389
Stack trace:
#0 /bar/sites/all/modules/feeds/mappers/file.inc(80): FeedsEnclosure->getFile('public://foo...')
#1 /bar/sites/all/modules/entityreference_feeds/entityreference_feeds.module(211): file_feeds_set_target(Object(FeedsSource), Object(stdClass), 'field_image', '
#2 /bar/sites/all/modules/feeds/plugins/FeedsProcessor.inc(509): entityreference_feeds_feeds_set_target(Object(FeedsSource), Object(stdClass), 'field_term_v...', '
#3 /bar/sites/all/modules/feeds/plugins/FeedsProcessor.inc(223): FeedsProcessor->map(Object(FeedsSource), Object(FeedsParserResult), Object(stdClass))
#4 /bar/sites/all/modules/feeds/includes/FeedsSource.inc(358): FeedsProcessor->process(Object(FeedsSource), Object(FeedsParserResult))
#5 /bar/sites/all/modules/feeds/feeds.module(191): FeedsSource->import()
#6 [internal function]: feeds_batch('import', 'foo', '12494', Array)
#7 /bar/includes/batch.inc(284): call_user_func_array('feeds_batch', Array)
#8 /bar/includes/batch.inc(161): _batch_process()
#9 /bar/includes/batch.inc(80): _batch_do()
#10 /bar/modules/system/system.admin.inc(2379): _batch_page()
#11 [internal function]: system_batch_page()
#12 /bar/includes/menu.inc(517): call_user_func_array('system_batch_pa...', Array)
#13 /bar/index.php(21): menu_execute_active_handler()
#14 {main}
I also tried entityreference_feeds-term_bundle_key-2300863-1.patch but no luck.
Thanks
Comments
Comment #1
gnucifer commentedThis seems a bug in the XML (or possible but unlikely xmlpath_parser) or in your xpath-expression.
Comment #2
gnucifer commented