Skip to content
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

Error on adding warehouse #5

Closed
inluxc opened this issue Feb 17, 2017 · 3 comments
Closed

Error on adding warehouse #5

inluxc opened this issue Feb 17, 2017 · 3 comments

Comments

@inluxc
Copy link

inluxc commented Feb 17, 2017

I get this error after i add a new warehouse

There was a problem saving the zoneSQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (magento2.warehouseinventory_stock_item, CONSTRAINT WAREHOUSEINV_STOCK_ITEM_STOCK_ID_WAREHOUSEINV_STOCK_STOCK_ID FOREIGN KEY (stock_id) REFERENCES warehouseinventory_stock (stock_id), query was: INSERT INTO warehouseinventory_stock_item () VALUES ()

@eadesignro
Copy link
Contributor

I guess you do not have any items. This is the same as the installation issue. When you create another zone the extension will create new items for all the products with the new item id.

We will look for this to. Thanks for the time to report and test.

@eadesignro
Copy link
Contributor

I think the same empty rule needs to be here: copyDataFromCatalogInventoryStockStatus, i did not test.

@inluxc
Copy link
Author

inluxc commented Feb 20, 2017

@inluxc inluxc closed this as completed Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants