-
Notifications
You must be signed in to change notification settings - Fork 197
Why is the newer 2.3.5 Step/Eav/Data.php so much smaller #812
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
Comments
Just want to add: this happens on a clean install of Magento 2.3.5. |
Think you narrowed down the culprit. Now we need a fixed version of data-migration-tool:2.3.5 , or try a workaround like downgrading to data-migration-tool 2.3.4 and trying that on M2.3.5... or at worse, downgrade both the tool and magento...ugh. Added my error to your other issue |
I have tried 2.3.4 migration-tool with M2.3.4 which had other errors; before deciding to upgrade to 2.3.5 since its a very recent version. I can confirm 2.3.4 does not work either. As for older versions, that most definitely skips alot of mapped columns/tables, so you will have to merge all the recently added mapped items. I also do not know how this will go since the issue regardless is to test delta migration |
I was running regular delta from a Magento 1.9.0.1 to Magento 2.3.4 for a period absolutely fine. |
Unfortunately with my data, especially products and categories have so many issues that I need to apply changes manually; MySQL queries etc, so I am still not even able to get to the stage where I'm ready to run For instance, my Magento 1.7.x data seems to not have
or
When indexing these products, they just return blank page (if you inspect the HTML source you see the BODY has a attribute indicate 'no-layout-updates'). I had to run
in order for the products to apply. Clearly Magento 2 ignores These are changes that I had to apply manually, 100s of them. Unfortunately the data-migration-tool is not in a state to correctly migrate 1.7x to 2.3.x. I used to have a data-migration-tool version that migrated better, but this is not an option since my main concern is that I need to create steps to reproduce an import so that I can do |
@ChameleonDevil You are right even migration form 1.8 is not successful. "catalog_product_entity_varchar" table has much value as NULL and i changed pagelayout manually but still many other need attribute value is NULL do we need to add value to all manually or what needs to be done? Migration is stuck at this table https://prnt.sc/spacyo Thanks, |
You have uncovered something that I never noticed, but it might be a big issue. Also if you have any more details of which important attributes are NULL, it will be useful for @victor-v-rad . To start off this discussion:
Same for
It would be useful if you have more information of which important attributes now don't have values. With 262 attributes for me it is really hard to see. This is concerning though: which things do we not see imported? |
@ChameleonDevil Can we do like this. If the Attribute value is NULL system should add "String" there just to avoid the Process to be hanged. ? |
Please take a look at our Wiki.
Also please consider making your contribution into the project through pull requests |
Hi @victor-v-rad I will do contribution, can you please answer below question so that i will do that in my end and contribute through pull request once that issue is fixed. Thanks |
I noticed a similar issue with the varchar table for products. For example i have an attribute station_sku its a special sku we use with shipstation but it is a different value then the regular magento sku. And none of that attribute were carried over. Let me know any thoughts on this issue. |
I have not as of yet uncovered which missing values for custom attributes I mentioned above (inconsistent counts) except for my configurable products, the simple products do not have their It seems migration decided to INNER JOIN() my source data and didnt import any simple products that do not have the attribute defined in attribute set --- even though Magento 1 worked perfectly with simple products when configurable using it this way.
As for which other attributes miss data - just the count above tells me.... I do not yet have any need for missing attributes if Configurables do not even work :( |
I have managed to track my issue down to the PostProcessing Step of the migration one of the clean up function calls removes my attributes from the attribute set they are assigned to then removes the data of those attributes. Prior to this step I can see in the db that the data did import prior to the step. |
Wow that is just unfortunate that clean up removes attributes from attribute sets.... this does not seem like expected behaviour. I wonder if this clean up also removes Is there any starting point you can point me to where you found these cleanup code, and see if I can figure out based on my product information (configurables) if it is similar behaviour. |
@ChameleonDevil The actual code can be found in
within the perform() function |
@ChameleonDevil If you have any idea where in the migration process it removes data on the m1 side that would be helpful to know. |
Thank you @danmentzer, I was going to start debugging there as well ... but then you mentioned:
I am also not sure where it happens right at the moment. When I see anything I will update. Do you mean the migration tool removes things from M1 first?? This is dangerous, as we run live websites and one of the _features of this tool is delta migration which depends on triggers on a M1 livesite. I hope that is not true; I have not noticed anything myself missing. |
It appears that the call, in perform() to |
|Thank you :) I will then try a new magento 2 migration when I disable / investigate the |
Edit 2021:I just want to reiterate this: Summary: Looking at the current commits (2021) for |
Magento 1 1.7.0.2 to Magento 2.3.4 / Magento 2.3.5 Migration
I have so many issues with Migration from 1.7.0.2 to 2.3.4 / 2.3.5
Previously, I managed to get migration to work (1.7.0.2 - to 2.2x); but newer versions give more issues. I merged everything to map.xml and deltalog.xml from older versions that were required for the custom tables / data fields.
The recent version 2.3.4 Data Migration Tool
composer require magento/data-migration-tool:2.3.4
failed at another section compared to this 2.3.5 version.So decided to update:
composer require magento/product-community-edition:2.3.5
composer require magento/data-migration-tool:2.3.5
Now the error moved to this:
So then I investigated the code of this commit and a previous commit
Two questions:
and was called like this inside
perform()
$this->progress->start($this->getIterationsCount());
The newer commit doesnt have this method anymore:
$this->progress->start(7);
Ever since that commit where
$this->progress->start(7);,
is called, newer code was added and the latest commit is on 719 lines.Why is the $this->progress->start(7); now hardcoded, and the dynamic count calculation method removed, isn't there alot of code missing that were helping with processing from the older commits?
Since this version has much less processing code, what are my options now for Migrating 2.3.5?
Obviously if Magento 2.3.4 / data-migration-tool:2.3.4 was working, I would have done it that way... but it doesn't work either.
Should I revert data-migration-tool to 2.3.4 and then try and migrate directly on Magento 2.3.5?
The questions are basically :
1 -
$this->progress->start(7);
made me question why its not dynamic when it previously were, so didn't alot of processing code get lost somewhere?2 - OR is the difference between 2.3.4 so vast to 2.3.5 that less EAV processing code is required?
The text was updated successfully, but these errors were encountered: