Quant views page seed fails when views module is not enabled

Created on 31 July 2023, over 1 year ago
Updated 1 March 2024, 9 months ago

Problem/Motivation

Was testing the minimal install profile and the seed failed with this error because the views module isn't enabled by default.

Since nearly everyone will have the views module installed, marking this as minor.

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "view" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Steps to reproduce

  1. Install Drupal with minimal profile
  2. Install and configure quant and quant_api
  3. Choose Views (Pages) seed option
  4. Run seed
  5. Result: Database error above

Proposed resolution

We could not show the Views (Page) option on the Seed tab if the views module isn't installed.

Remaining tasks

  1. Update code
  2. Review and test
  3. Commit :)

User interface changes

The code>Views (Page) option won't show up on the Seed tab if the views module isn't installed.

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024