Install Domain Content

Created on 7 August 2025, 17 days ago

Drupal Version: 11.2.2

Domain module version: 2.0.0-beta3

Expected Behavior

I'm trying to install Domain Content, but I'm unable to install it; it simply reloads the page without making any changes.
And in /admin/reports/status page, I got Entity/field definitions Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Domain record
The Domain record entity type needs to be installed.

Content status filter
Redundant filters detected
The following views use the Published status or admin user filter but it has no effect because the following module(s) control access: Domain Access. Review and consider removing the filter from these views:
Content (Default)
Recent content (Default)
Dashboard content blocks (Default)
Dashboard content blocks (Edited content block)
Dashboard content blocks (Drafts block)
Dashboard content blocks (Site content)

πŸ› Bug report
Status

Active

Version

2.0

Component

- Domain Content

Created by

πŸ‡ΈπŸ‡¦Saudi Arabia 3eidoz Riyadh

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

Comments & Activities

  • Issue created by @3eidoz
  • πŸ‡«πŸ‡·France mably

    We need a reproducible scenario from a fresh Drupal instance in order to help.

  • πŸ‡©πŸ‡ͺGermany Bruno2

    Did you install it in a dev enviroment?

    Try to change the line or comment it only (the dependencie should be checked in the domain_content.info.yml) in web/modules/contrib/domain/domain_content/domain_content.install:

    require_once __DIR__ . './../domain_access/src/DomainAccessManagerInterface.php';

    to:

    if (!\Drupal::moduleHandler()->moduleExists('domain_access')) {
    return [];
    }

  • @mably opened merge request.
  • πŸ‡«πŸ‡·France mably

    It looks like the hook_requirements do not work with the install phase if Drupal is installing some of the module dependencies like domain_access.

    Switched to the runtime phase to simply warn the user if some of the Domain Access's required fields are missing.

  • πŸ‡«πŸ‡·France mably
    • mably β†’ committed de6f1370 on 2.0.x
      Issue #3540174 by 3eidoz, mably, bruno2: Install Domain Content
      
  • πŸ‡«πŸ‡·France mably

    Merging this as is. Let's see how it goes.

    Won't be too difficult to rollback and should only affect new installs.

Production build 0.71.5 2024