Memory exhausted because of taxonomy reference loop

Created on 12 June 2025, about 1 month ago

Problem/Motivation

Hi! Newbie here β€” this is my first time contributing on Drupal.org.
I'm using this module to facilitate content export in Drupal, but the process is being interrupted due to memory exhaustion.
After some research, I found that my site contains cyclical taxonomy references. While this is likely problematic on its own, I cannot change it at the moment.

Steps to reproduce

Proposed resolution

I propose adding a "maximum reference depth" configuration option to control the depth of the export and prevent memory exhaustion.

During testing, I also had to make a few other adjustments to get the module working. I'm not entirely sure why those changes were necessary β€” I'm still learning the inner workings of Drupal.

Remaining tasks

Revise the code and test it further.

User interface changes

A new numeric field labeled "Maximum reference depth" has been added to the module’s configuration form.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Needs work

Version

1.4

Component

Code

Created by

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