Creating a tracker generator for content of a 'file' results in an error and un-saved migration.

Created on 22 April 2024, 8 months ago
Updated 24 April 2024, 8 months ago

Problem/Motivation

With a fresh install, trying to add a Tracker Generator for Content Entities of a file results in WSOD.

Steps to reproduce

Install Fresh Drupal Site (I had 10.2.5).
Install migrate_qa, migrate_qa_views.
Go to Tracker Generator for content page (/admin/structure/migrate-qa/tracker/settings/generators-content)
Click on 'Add Generator'.
Select 'File' entity and 'File' bundle.
Save.

Proposed resolution

Not sure, files don't have bundles so I don't think this would fit into the 'config template' for tracker content.

Remaining tasks

For one just avoid the error by checking for a null bundle, but I think that would lead to more issues further in the code. Perhaps there should be a file-specific migration template.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States darchuletajr

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

Comments & Activities

Production build 0.71.5 2024