magento / magento/data-migration-tool

Deltalog for catalog_product_super_attribute_pricing is not installed

Open
#858 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
339
Forks
195
PR merge metrics
No merged PRs in 30d

Description

Preconditions
  1. Magento 1 version 1.7.0.2
  2. Magento 2 version 2.4.1
  3. Magento 1 database has a prefix
Steps to reproduce
  1. Run migration tool with data
  2. The config.xml has a value for source_prefix
  3. Try running the migration a second time with mode delta
Expected result
  1. The migration should run a second time and only bring in new records.
Actual result
  1. Get an error that Deltalog for catalog_product_super_attribute_pricing is not installed
Additional notes

With a bit of blind stabbing, I found this file src/vendor/magento/data-migration-tool/src/Migration/Step/ConfigurablePrices/Delta.php on line 39 has the following
private $sourceDocumentName = 'catalog_product_super_attribute_pricing';

When I edit that to private $sourceDocumentName = 'm2_cl_catalog_product_super_attribute_pricing'; (All I did was add the m2_cl_ prefix) it works like a charm.

I found a few stack exchange posts where people reported similar missing delta log tables even though they had already ran the data migration.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/vendor/magento/data-migration-tool/src/Migration/Step/ConfigurablePrices/Delta.php, especially the sourceDocumentName at line 39, and review how source_prefix affects delta-log table names. Reproduce a second migration in delta mode using the reported Magento versions and prefixed database, then confirm it completes and imports only new records.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.