acquia/reservoir

Can't install views module

danepowell opened this issue · 2 comments

I'm trying to install the Views module with Reservoir 1.0.0-alpha1. It appears that this isn't possible via the UI, since no admin/extend route exists, so I'm using drush:

drush en views

This produces the following error:

Argument 1 passed to Drupal\Core\Config\Entity\ConfigEntityBase::calculatePluginDependencies() must implement interface Drupal\Component\Plugin\PluginInspectionInterface, null given, called in docroot/core/modules/views/src/Entity/View.php on line 281 and defined PluginDependencyTrait.php:29

I'm assuming this has something to do with how Reservoir is modifying / suppressing administrative routes. Note that this is on a fresh install of Reservoir, also via Drush.

@danepowell, all Reservoir does is hide the link to the modules listing page. If you go directly to the /admin/modules URL, you'll see the standard module page.

That doesn't get you much closer to a solution, but at least that can be ruled out as the culprit.

Reproduced. This appears to be a bug in Views, although further investigation is necessary.

It's failing on

    foreach ($executable->displayHandlers as $display) {
      // Calculate the dependencies each display has.
      $this->calculatePluginDependencies($display);
    }

because:
screen shot 2017-06-27 at 17 28 28

i.e. page_1's display handler is NULL rather than \Drupal\views\Plugin\views\display\Page.