varabase_core and other submodules of varbase have dependencies with module

Created on 21 August 2023, over 1 year ago
Updated 22 November 2023, 12 months ago

Problem/Motivation

When doing a drupal installation based on a base configuration, an error occurs because there are numerous views that depend on the metatag_views module, however no varbase submodule contains a dependency on the metatag_views module.

Steps to reproduce

When doing a drupal installation based on a base configuration
Then an error occurs because there are numerous views that depend on the metatag_views module

Proposed resolution

Modify varbase_core.info.yml file to add this dependency

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
Feature request
Status

Closed: works as designed

Version

10.0

Component

Code

Created by

🇪🇸Spain aarnau

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

Comments & Activities

  • Issue created by @aarnau
  • 🇯🇴Jordan Rajab Natshah Jordan

    Thanks, aarnau for reporting.

    That is a very good catch!!

    We could manage to enable the metatag_views module in the module.
    in the install: part in varbase_seo.info.yml

    When installing Varbase, Varbase modules will be enabled in the following order: default.components.varbase.bit.yml

    # ==============================================================================
    # List of default varbase components, which they will be installed
    # when we install varbase.
    # ==============================================================================
    config_bit:
      type: list
      for: varbase.info.yml
      when:
        install_default_components: true
        list:
          dependencies:
            # Enable listed Varbase modules in order at this installation step.
            - varbase_core
            - varbase_media
            - varbase_editor
            - varbase_admin
            - varbase_email
            - varbase_security
            - varbase_seo
            - varbase_webform
            - varbase_workflow
            - varbase_page
            - varbase_layout_builder
            - vlplb
            - varbase_total_control
            - varbase_default_content
            - varbase_tour
    

    varbase_seo will be insalled before Varbase Page, and Varbase Layout Builder Page

  • Status changed to Closed: works as designed 12 months ago
  • 🇯🇴Jordan Rajab Natshah Jordan

    After checking on the code and order of enabling of modules
    varbase_seo will install schema_item_list, and schema_item_list will install metatag_views
    Closing this issue as works as designed.
    Please, feel free to re-open, if you still face the issue with Varbase.

Production build 0.71.5 2024