Issue with exporting content using Content Sync module in an existing site.

Created on 27 March 2023, almost 2 years ago

Problem/Motivation

The issue reported is that the Content Sync module is causing problems when used on an existing site. The module starts exporting all the content in JSON format, which takes a lot of time and causes Drush to time out after four hours.

Steps to reproduce

Enable Layout Builder on an existing Drupal site.
Install and enable the Content Sync module.
Try to export content using Content Sync.
Notice that the module starts exporting all the content in JSON format, causing the process to take a lot of time and Drush to time out after four hours.

Proposed resolution

I'm looking for a way to use the Content Sync module on an existing site without exporting all the entities. They only want to export new content, including nodes and the entities referencing that particular node. One possible solution could be to modify the module's code to allow for a more selective export process that only exports the desired content.

Remaining tasks

Analyze the module's code and determine if it can be modified to allow for a more selective export process.
Implement the necessary code changes to allow for the selective export of content.
Test the modified module thoroughly to ensure it works as expected.
Document the changes made to the module.

User interface changes

N/A. No user interface changes are expected as part of this issue (at least for now).

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rishi kulshreshtha

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

Comments & Activities

Production build 0.71.5 2024