EntityReverse will always use the 'standard' join plugin because of an undefined variable $def

Created on 19 July 2017, over 7 years ago
Updated 24 September 2023, about 1 year ago

Problem/Motivation

$def is undefined in \Drupal\views\Plugin\views\relationship\EntityReverse::query().

This probably comes from a copy/paste from
\Drupal\views\Plugin\views\relationship\RelationshipPluginBase::query

Proposed resolution

Replace $def['join_id'] with $this->definition['join_id'].

Remaining tasks

Reroll patch in #22 to include the lines that were erroneously removed in #3316276: Fix 'undefined variable' PHPStan L0 errors β†’ . This bug is still valid, just now hardcoded until this is fixed.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 11 hours ago

Created by

πŸ‡­πŸ‡ΊHungary boobaa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024