Skip to content

Commit dd12c89

Browse files
committed
MC-21821: Magento 2.2.8 Can't save products after updating
- Fix error message not showing when there are invalid fields in advanced inventory
1 parent e3e85a1 commit dd12c89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/CatalogInventory/Ui/DataProvider/Product/Form/Modifier/AdvancedInventory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ private function prepareMeta()
255255
'actionName' => 'toggleModal',
256256
],
257257
],
258+
'imports' => [
259+
'childError' => 'product_form.product_form.advanced_inventory_modal.stock_data:error',
260+
],
258261
'title' => __('Advanced Inventory'),
259262
'provider' => false,
260263
'additionalForGroup' => true,

0 commit comments

Comments
 (0)