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

Duplicating a view with an exposed form as data export causes issues

$
0
0

I had duplicated the view form an existing view (that has an exposed form) as a data export. When I try to use VDE (CSV button) on that view, I get this:

Create a view of taxonomy data with an exposed filter.
Duplicate view for views_data_export
Try exporting the data
Error:

Error: Call to a member function preExecute() on null in Drupal\views\Plugin\views\display\DisplayPluginBase->preExecute() (line 2272 

The code it fails on is

    if ($this->usesExposed()) {
      /** @var \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface $exposed_form */
      $exposed_form = $this->getPlugin('exposed_form');
      $exposed_form->preExecute();
    }

I then did #10 and now it works fine.


Viewing all articles
Browse latest Browse all 300827

Trending Articles



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