Compatibility with domain module

Created on 17 December 2024, about 21 hours ago

Problem/Motivation

Same Page Preview module uses "preview_toggle" as key for input element to preview. The "preview" input element is hidden by css. Some modules eg. domain:domain_source rely on the "preview" key, see https://git.drupalcode.org/project/domain/-/blob/2.0.x/domain_source/dom.... Thus using with Domain source module causes following error message:

Drupal\Core\Entity\EntityMalformedException: The "node" entity cannot have a URI as it does not have an ID in Drupal\Core\Entity\EntityBase->toUrl() (line 161 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php).

Steps to reproduce

Proposed resolution

Use "preview" input element instead of "preview_toggle" if possible.

Remaining tasks

Decide if the proposed resolution is optimal.

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇫🇮Finland sokru

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

Comments & Activities

Production build 0.71.5 2024