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

New instalation error #2

Closed
inluxc opened this issue Feb 8, 2017 · 7 comments
Closed

New instalation error #2

inluxc opened this issue Feb 8, 2017 · 7 comments
Assignees
Labels

Comments

@inluxc
Copy link

inluxc commented Feb 8, 2017

Magento 2.1.3

[Zend_Db_Statement_Exception] SQLSTATE[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 warehouseinven
tory_stock (stock_id), query was: INSERT INTO warehouseinventory_stock_item () VALUES ()

@eadesignro eadesignro self-assigned this Feb 8, 2017
@eadesignro eadesignro added the bug label Feb 8, 2017
@eadesignro
Copy link
Contributor

Hi,

Can you provide us with more details please. Installation method, other usefull information?

Thanks,

@inluxc
Copy link
Author

inluxc commented Feb 9, 2017

I used composer to install..

Then i deleted an entry in the WAREHOUSEINVENTORY_STOCK_ITEM table and i run setup up again an it worked.

@eadesignro
Copy link
Contributor

Hi,

Ok, thanks. We will investigate. Did you have any items (products)?

Thanks,

@inluxc
Copy link
Author

inluxc commented Feb 9, 2017

No, clean installation.

@eadesignro
Copy link
Contributor

Ok, That we will test again,

Thanks,

@inluxc
Copy link
Author

inluxc commented Feb 16, 2017

I tried again to install with the command line and i get this.

[Progress: 199 / 397]
Installing data...
Data install/update:
Module 'Eadesigndev_Eacore':
[Progress: 200 / 397]
Module 'Eadesigndev_Warehouses':
Installing data...

[Magento\Framework\Exception\LocalizedException]
Wrong entity ID

Note im instaling in magento 2.1

This was referenced Feb 17, 2017
@eadesignro
Copy link
Contributor

This should be fixed on dev. I will try to get a new release asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants