az-digital / az_quickstart

UArizona's web content management system built with Drupal 10.
https://quickstart.arizona.edu
GNU General Public License v2.0
30 stars 20 forks source link

Add dependencies to Quickstart Paragraphs - Views Side-by-Side. #3445

Closed trackleft closed 2 months ago

trackleft commented 4 months ago

Problem/Motivation

When attempting to install this module on a site without az_news installed produces an error.

Describe the bug

Dependent node type not installed.

To Reproduce

On a quickstart site disable az_news and delete all of its config, or create a site without news in the first place.

Then try to enable the Quickstart Paragraphs - Views Side-by-Side module See error

Proposed resolution

Add dependencies needed for the view to work https://github.com/az-digital/az_quickstart/blob/main/modules/custom/az_paragraphs/az_paragraphs_views_side_by_side/config/install/views.view.az_side_by_side_views.yml

Alternate resolution

Put the view config file in the optional folder.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

image