- 🇪🇪Estonia tormi Tallinn
I'm adding D11.2 compatible patch against 8.x which requires "#3430075: Drupal 11 support": " https://www.drupal.org/files/issues/2025-08-20/elasticsearch_helper_view... → ".
Search results rendering are failing with some of my site content types:
Error: Call to undefined method Drupal\elasticsearch_helper_views\Plugin\views\field\RenderedEntity::getEntityRepository() in Drupal\elasticsearch_helper_views\Plugin\views\field\RenderedEntity->getEntityTranslation() (line 77 of core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php).
Drupal 9.0.7 with ES 7.9, elasticsearch_helper:7.x-dev
and elasticsearch_helper_views:8.x-7.x-dev
. Content type with translatable and non-translatable fields.
I could not figure out the field config differences of that failing content type rendenring but it seems requesting for $this->getEntityTranslation()
is unnecessary for the entity in the render method, results are shown in correct translation even without.
Remove unnecessary EntityTranslationRenderTrait
and call to getEntityTranslation()
from \Drupal\elasticsearch_helper_views\Plugin\views\field\RenderedEntity
.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I'm adding D11.2 compatible patch against 8.x which requires "#3430075: Drupal 11 support": " https://www.drupal.org/files/issues/2025-08-20/elasticsearch_helper_view... → ".