dry-run: Base table or view not found: 1146 Table 'migrate_map_action_settings' doesn't exist

Created on 22 December 2023, 9 months ago

Problem/Motivation

When using the --dry-run option on migrate:orphans-purge the following error is displayed and the command doesn't do anything:

In ExceptionHandler.php line 46:
                                                                               
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'migrate  
  _map_action_settings' doesn't exist: SELECT "m"."sourceid1" AS "sourceid1",  
   "m"."destid1" AS "destid1"                                                  
  FROM                                                                         
  "migrate_map_action_settings" "m"                                            
  WHERE "destid1" IS NOT NULL; Array                                           
  (                                                                            
  )                                                                            

Steps to reproduce

Run the "migrate:orphans-purge" command with

Proposed resolution

Fix the bug so it's possible to run "dry-run" to see how much data would be removed.

Remaining tasks

Fix the bug.

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 DamienMcKenna NH, USA

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

Comments & Activities

Production build 0.71.5 2024