Hallo zusammen,
wenn ich ein selbstgeschriebenes Modul in mein Magento2 einbinden will und magento:upgrade durchführe, bekomme ich folgende Fehlermeldung:
Installing data... The entity ID is incorrect. Verify the ID and try again.
Was muss ich tun um diesen Fehler zu vermeinden?
Gruß
Markus
Hello Markus,
This might be useful for someone.
I had the same issue and figured out that I have used "sales_order_item" instead of "order_item" in below line.
$salesSetup->addAttribute('order_item', 'custom_field', $attributeOptions);
Also you need to add the depending module under sequence element of [vendo]/[module]/etc/module.xml, which I already had included.