magento / magento/data-migration-tool
Deltalog for catalog_product_super_attribute_pricing is not installed
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 339
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
Preconditions
- Magento 1 version 1.7.0.2
- Magento 2 version 2.4.1
- Magento 1 database has a prefix
Steps to reproduce
- Run migration tool with data
- The config.xml has a value for
source_prefix - Try running the migration a second time with mode delta
Expected result
- The migration should run a second time and only bring in new records.
Actual result
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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