-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: ConfigFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 release
Description
Preconditions (*)
- 2.3.1
Steps to reproduce (*)
- Try to set a config value for a config option that uses JSON values via the command line cli
- i.e.:
bin/magento config:set --scope default cataloginventory/item_options/min_sale_qty '{"_q0efyLTwddknOffVxvtSNpjQYmv9eAe9":{"customer_group_id":32000,"min_sale_qty":1}}' --lock-config
Expected result (*)
- Config is set to provided value
Actual result (*)
- Config is set to empty value.
- In the example above:
diff --git a/app/etc/config.php b/app/etc/config.php
index f3da38ee..34f30164 100644
--- a/app/etc/config.php
+++ b/app/etc/config.php
@@ -229,5 +229,15 @@ return [
'Magento_WishlistGraphQl' => 1,
'Temando_Shipping' => 1,
'Vertex_Tax' => 1
+ ],
+ 'system' => [
+ 'default' => [
+ 'cataloginventory' => [
+ 'item_options' => [
+ 'min_sale_qty' => '',
+ ]
+ ]
+ ]
]
];
Metadata
Metadata
Assignees
Labels
Component: ConfigFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 release