Call to undefined method Exporter::getSkipEntityIds()

Created on 30 August 2024, 9 months ago
Updated 16 September 2024, 9 months ago

Problem/Motivation

I am in the process of moving my project from using the DCD batch patch #41 from the related issue, to the latest 2.1.x branch. Now with the 2.1.x branch, when I enable the "Export processed text dependencies" option, I get the following error when exporting content with reference:

ResponseText: The website encountered an unexpected error. Try again later.Error: Call to undefined method Drupal\default_content_deploy\Exporter::getSkipEntityIds() in Drupal\default_content_deploy\Exporter->getEntityProcessedTextDependencies() (line 1068 of modules/contrib/default_content_deploy/src/Exporter.php). Drupal\default_content_deploy\Exporter->getEntityReferencesRecursive(Object, Array, 0, Array) (Line: 694)

Looks like the patch from #48 Use Batch API for export/import Needs review adds a call to getSkipEntityIds() which doesn't exist.

Steps to reproduce

Enable the "Export processed text dependencies" option and export with references.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇨🇦Canada smulvih2 Canada 🍁

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

Comments & Activities

Production build 0.71.5 2024