Taxonomy Migration won't work since taxonomy_term_hierarchy table does not exists anymore - follow up

Created on 16 July 2022, over 2 years ago
Updated 5 June 2024, 7 months ago

Problem/Motivation

This is a follow up to #3026875: Taxonomy Migration won't work since taxonomy_term_hierarchy table does not exists anymore. . The patch from comment #6 was not included in the commit, and so a fatal error still occurs when attempting to migrate taxonomy terms:

 [error]  Migration failed with source plugin exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'legacy.taxonomy_term_hierarchy' doesn't exist: SELECT "h"."parent" AS "parent"
FROM
"taxonomy_term_hierarchy" "h"
WHERE "tid" = :db_condition_placeholder_0; Array
(
    [:db_condition_placeholder_0] => 96
)
 in /var/www/web/core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php line 53 
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇪Ireland stella

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇪🇨Ecuador andres.torres

    Still an ugly issue when the source database is from a Drupal 8 database. Im running a fresh D 10.2.6 install with migrate, migrate_plus, migrate_tools (latest stable versions) and tried with the current stable version of this module and the dev version as well, applied patch #6 provided on https://www.drupal.org/project/migrate_drupal_d8/issues/3026875 but the issue is still present, also tried the multiple combinations for the yml definition migrate file but no luck. See attached screenshot.
    If you can provide any guidance on how to make this work Id really appreciate it. I think we should change the priority of the issue to Major since its a key factor to have Taxonomies imported.

Production build 0.71.5 2024