Closed benhtn closed 5 years ago
SKU is required field when you create new product in Admin Panel. Maybe some of your extensions override it somehow. I tried to set null SKU in catalog_product_entity and got error when open product in admin panel or fronted.
please anybody help me...during migration i got this error and after migration opening all customer page shows the second error. thank you.
[2019-06-18 03:46:13][WARNING]: Mismatch of entities in the document: inventory_source_item Source: 7535 Destination: 7203 [2019-06-18 03:46:13][WARNING]: Volume Check failed
{"0":"Type Error occurred when creating object: Magento\Eav\Model\Entity\Attribute\Source\Config","1":"
@charmming even i am getting the same error while data-migration
@victor-v-rad I know this is old, but its a bug in M1 which allows you to create a product without an SKU. If you open an existing product, click 'duplicate', then it creates a new product in the database without an SKU. So if you duplicate a product, then close the page without setting an SKU, you get an entry in catalog_product_entity with a NULL for SKU, which then causes the volume check to fail on upgrade.
Anyone found solution of this? As I am facing issue due to duplicate products with empty SKU in M1's DB
I'm on CentOS 7, PHP 7.2.13 using, nginx version: nginx/1.12.2, MySQL 5.7.23.
I've got a live CE 1.9.3.6 store and am importing settings and data using the data import tool into a CE 2.3.0 dev environment.
My import commands looked like this:
During initial import I got these errors:
So I added this to vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.6/map.xml in the source > document_rules section:
and this to the source > field_rules section:
And pointed config.xml to the edited map.xml.
Rerunning the migration tool, into a completely reset and clean destination 2.3.0 store/ db, I get the following warnings:
The troubleshooting guide doesn't have much to say on this, other than using the delta option. https://devdocs.magento.com/guides/v2.1/migration/migration-troubleshooting.html
Using the delta option I then get:
catalog_product_entity_varchar and inventory_source_item values don't change in source nor destination, sessions increase in the source, but not the detination.
When I visit the new site all the product categories say "We can't find products matching the selection." and in the admin backend I can see all the imported categories and see the "Products In Category" listed OK apparently, but when I try to go to Catalog > Products I get a 500 error and in the PHP error log I see:
I am expecting to have all products in the destination database and to be able to view them on front and backends.
I see from this issue https://github.com/magento/data-migration-tool/issues/628 that perhaps SKUs are required and if I run this query
on my source db I see SKU is NULL in all cases. Is having SKUs on all products a requirement of the tool?