Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delta migration does not migrate changes related to enterprise gift card accounts #433

Closed
molsm opened this issue Dec 21, 2017 · 3 comments

Comments

@molsm
Copy link

molsm commented Dec 21, 2017

We done full data migration testing and now testing delta migration. Gift card accounts has not been updated on magento 2.
Can not see any related m2_cl_* for enterprise_giftcardaccount_* tables.

This feature is not implemented in delta migration at all?

@victor-v-rad
Copy link
Collaborator

victor-v-rad commented Dec 21, 2017

Hi @molsm

Seems you are right about enterprise_giftcardaccount_history table. This table is used in storefront and it should be in deltalog.xml.dist file for delta start to work. Delta tables m2_cl_* are setup when data is migrated, which you already done. So in order delta setup tables you can

  1. remove all steps in data in your config.xml. Example:
    <steps mode="data">
    </steps>
  1. backup your var/migration-tool-progress.lock
  2. rerun migrate:data with --reset option
  3. restore var/migration-tool-progress.lock
  4. check that m2_cl_enterprise_giftcardaccount_history tables is setup

or you can clean your M2 DB to its initial state and rerun migrate:data with --reset option

victor-v-rad added a commit to magento-panda/data-migration-tool that referenced this issue Dec 22, 2017
@molsm
Copy link
Author

molsm commented Dec 22, 2017

Hi @victor-v-rad ,

Thanks for info.

But what about case when on magento 1 new gift card was created after migration:data ?
You are migration in deltalog.xml only gift account history!?

Best regards,

@victor-v-rad
Copy link
Collaborator

victor-v-rad commented Dec 22, 2017

By default the tool should process all operations on StoreFront and order processing in Admin Panel. But you can add in your deltalog.xml all enterprise_giftcardaccount* tables to catch by delta mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants