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

Add missing product_id key into $inventoryData #7290

Closed
wants to merge 1 commit into from
Closed

Add missing product_id key into $inventoryData #7290

wants to merge 1 commit into from

Conversation

GordonLesti
Copy link
Contributor

@GordonLesti GordonLesti commented Nov 3, 2016

When Update Attributes for many product with the function execute of controller Magento\Catalog\Controller\Adminhtml\Product\Action\Attribute\Save and the product has no stock item, the stock item is not created. The behavior of a normal product save is to create a stock item in that case, but the mass update with changed $inventoryData is not doing that because of the missing key product_id in line 165.

@vrann
Copy link
Contributor

vrann commented Mar 21, 2017

@GordonLesti Thank you for the contribution, but this change had already been accepted as a part of #8642

@GordonLesti GordonLesti deleted the missing_product_id_inventory_data branch March 21, 2017 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants