Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292436

Notice: Undefined index: empty in Drupal\views\Plugin\views\filter\NumericFilter->adminSummary

$
0
0

Problem/Motivation

As in title.

Steps to reproduce

Create a view with no relationships on Master, add a display with a relationship (override Master), add a numeric filter using the relationship with "empty" or "not empty" operator.

Proposed resolution

Looks like the problem is in Drupal\views\Plugin\views\filter\FilterPluginBase::init(), when determining if empty operators are allowed. Looks like it checks if master has relationships, while it should check the current display instead.


Viewing all articles
Browse latest Browse all 292436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>