Separate generating root terms from module install

Created on 5 December 2024, 4 months ago

Problem/Motivation

Since professional deployments using config import and the drush deploy hook, the installation of the module should be splitted.

First: it should only update the database schema.

Second: The generating of data should shifted to a separate call.

Third: The batch processing should be fixed.

Steps to reproduce

1. Add taxonomy_term_root: 0 to the core.extension.yml
2. Run drush config:import
3. Run drush sql:cli and SELECT COUNT(*) FROM taxonomy_term_root;
4. See that the count returns 0

Proposed resolution

Since drupal and drush make use of drush deploy:hook it should be shifted to that kind of hook. (see attachement)
Additionally there should be a button for site-builders on the "status" page (/admin/report/status) that checks the table against zero and provides a "generate root terms now" or something.

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany ckidow

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

Comments & Activities

Production build 0.71.5 2024