Breaks Drupal on MongoDB site

Created on 21 October 2024, 25 days ago

Problem/Motivation

The code in in the method ParagraphStorageSchema::getEntitySchema() breaks a Drupal site that uses MongoDB as its primary database. A Drupal on MongoDB site does not have a data table nor does it have a data revision table. The change to the $schema array therefore results in an erro.

Steps to reproduce

Try to enable this module on a Drupal on MongoDB site.

Proposed resolution

Add a check to only change the $schema array when the data table and the data revision table exists.

Remaining tasks

TBD

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇳🇱Netherlands daffie

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024