Undefined DOMAIN_MATCH_EXACT

Created on 2 January 2023, over 2 years ago
Updated 26 January 2023, about 2 years ago

Problem/Motivation

Due to a recent change in the Domain module, the code in this module fails with the next error:

Error: Undefined constant Drupal\domain\DomainNegotiator::DOMAIN_MATCH_EXACT in domain_microsite_domain_request_alter() (line 103 of modules/contrib/domain_microsite/domain_microsite.module).

The domain module >= 8.x-1.0-beta3 provides new constants that can and must be used.

Steps to reproduce

Install domains 8.x-dev
Add a domain microsite by path
Visit the added domain microsite

Proposed resolution

Change the code to use DomainNegotiatorInterface::DOMAIN_MATCHED_EXACT

Remaining tasks


Review patch

User interface changes

-

API changes

-

Data model changes

-

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium tim-diels Belgium πŸ‡§πŸ‡ͺ

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024