- Issue created by @thomaswalther
- Status changed to Postponed: needs info
about 1 year ago 7:52am 23 October 2023 - 🇦🇹Austria drunken monkey Vienna, Austria
I’m sorry, but this problem is utterly inexplicable to me, and I also cannot reproduce it.
In the line in question in\Drupal\search_api\Plugin\search_api\processor\RenderedItem::addFieldValues()
, the%field_label
substitution variable definitely has a value assigned, no way around it. And if it works for the other variables (also with%
prefix), then why wouldn’t it for this one? Even if the value is an empty string ornull
, it should be replaced.
Furthermore, why would exporting and re-importing your config even remove the field label, if it was present before?Again, I’m sorry, but I really don’t know how to help you here. Can you yourself reproduce the problem? If so, maybe start by checking the value of
$context
when the warning is logged. And check the config export whether therendered_item
field does or doesn’t have a label set.
But it’s of course also a rather minor problem, so we might as well just wait and see whether others run into this problem, too.