There is some code on the JoinPluginBase, which is broken because it resets $this->extra instead of this->adjusted.

    if (!empty($configuration['extra'])) {
      $this->extra = $configuration['extra'];
    }

    if (isset($configuration['adjusted'])) {
      $this->extra = $configuration['adjusted'];
    }

This issue requires a test together with the fix.

Comments

Hanspolo’s picture

Status: Active » Needs review
StatusFileSize
new1.55 KB

Here is a patch.
Extra is not overwritten now.

I added some tests that check that the constructor sets the values correct.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Awesome! This somewhere blocked another issue, but i don't remember ( i think comment as field probably).

Status: Reviewed & tested by the community » Needs work
Issue tags: -Needs tests, -Novice, -VDC

The last submitted patch, views_replacement_joinplugin_1822384_1.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work
Issue tags: +Needs tests, +Novice, +VDC

The last submitted patch, views_replacement_joinplugin_1822384_1.patch, failed testing.

penyaskito’s picture

Status: Needs work » Reviewed & tested by the community

Back to RTBC.

catch’s picture

Status: Reviewed & tested by the community » Fixed

OK this is a one-liner with a test change, so committed/pushed to 8.x.

Automatically closed -- issue fixed for 2 weeks with no activity.