- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2019
05:59 AM
12-18-2019
05:59 AM
Upgrade error: Installing data... The entity ID is incorrect. Verify the ID and try again.
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
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020
01:51 AM
04-22-2020
01:51 AM
Re: Upgrade error: Installing data... The entity ID is incorrect. Verify the ID and try again.
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.