Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Can't install views module #27

Open
danepowell opened this issue Jun 22, 2017 · 2 comments
Open

Can't install views module #27

danepowell opened this issue Jun 22, 2017 · 2 comments
Labels

Comments

@danepowell
Copy link

danepowell commented Jun 22, 2017

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.

@ba66e77
Copy link

ba66e77 commented Jun 22, 2017

@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.

@wimleers
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants