Problem/Motivation
\Drupal\views\FieldViewsDataProvider::defaultFieldImplementation() tries to create a join when $data_table is NULL if $translation_join_type is language
Steps to reproduce
Run \Drupal\Tests\options\Kernel\Views\ViewsDataTest and Drupal\Tests\views\Kernel\Handler\FieldFieldTest
Proposed resolution
Don't
Remaining tasks
User interface changes
None
Introduced terminology
N/a
API changes
None
Data model changes
None
Release notes snippet
N/a
Issue fork drupal-3557142
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
alexpottComment #4
alexpottComment #5
smustgrave commentedGetting this from the gitlab runner.
Comment #6
alexpott@smustgrave yes but neither of them are the deprecation that is being fixed here. We're dealing with the deprecation trigger in \Drupal\views\FieldViewsDataProvider::defaultFieldImplementation
Comment #7
smustgrave commentedokay if we don't care about those ones here I'll mark.
Comment #11
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!
Comment #14
claudiu.cristeaAn edge case was not handled. Opened #3582171: [PHP 8.5] Strengthen views data with entity types w/o data tables