Shopware: UpdateCommand vs InsertCommand

You get a weird error, because you try to update a product, but for some reason instead you get:

Expected command for "product" to be "Shopware\Core\Framework\DataAbstractionLayer\Write\Command\UpdateCommand". (Got: Shopware\Core\Framework\DataAbstractionLayer\Write\Command\InsertCommand)

In my case, I had the wrong seperator. Shopware uses ; as a default, but LibreOffice is using , as a default. My laziness cost me nearly 2 hours – don’t be me 🙂

Kommentar verfassen