- Issue created by @mchaplin
- Assigned to mohd sahzad
- Issue was unassigned.
- 🇳🇱Netherlands megachriz
It sounds like that this is caused by a configuration error. If
$item_value
isNULL
, then it is possible that there is an error in the configured XPath for the source in question.For not letting the import crash in such situation, there is still 🐛 Catch TamperException to prevent import from crashing Needs review .
- 🇬🇧United Kingdom mchaplin
Except that the required data exists in the item 2 lines above?
ksm($item);//has source data in it from XMLDrupal\feeds\Feeds\Item\DynamicItem {#2704 ▼ #data: array:2 [▼ "xpath_title_value" => "Senior Funding Development Lead" "xpath_field_flexible_working_options_value" => "Flexitime, Staggered hours" ] }
So that would suggest the config is correct?
The value of $source = "flexible_work" (which is the desired xml tag) but I can't see that in the item?