-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for response
Description
Preconditions (*)
- Magento 2.4.3 (works as expected in 2.4.2-p1
- Some values added to the 'color' attribute for use with variations
- Configurable & Simple products ready for linking (csv attached to create products)
Steps to reproduce (*)
- Create a 'configurable' product and its variations as 'simple' products via Admin Import
- Create Integration entry with permissions
- Catalog > Inventory > Products > Update Attributes
- Attempt to set options on 'configurable' via bulk API endpoint:
ENDPOINT:
{{MAGE_BASE_URL}}/rest/async/bulk/V1/configurable-products/bySku/options
**EDIT! ALSO AFFECTS ENDPOINT:
{{MAGE_BASE_URL}}/rest/async/bulk/V1/configurable-products/bySku/child
PAYLOAD:
[
{
"sku": "P-001",
"option": {
"attribute_id": 93, //color attribute id
"label": "Color",
"is_use_default": false,
"position": 1,
"values": [
{
"value_index": 58 // 'red' attribute value id
}
]
}
}
]
Expected result (*)
RESPONSE:
{
"bulk_uuid": "61c2dfb3-1f57-4c8f-95c0-ed9763100f7a",
"request_items": [
{
"id": 0,
"data_hash": "e3e1df0e6c9d1045abda606dd195ab1c0edd1a9e3455a22323009a5ba314fd71",
"status": "accepted"
}
],
"errors": false
}
Actual result (*)
RESPONSE:
TypeError: Argument 3 passed to Magento\Framework\Webapi\ServiceInputProcessor::process() must be of the type array, string given, called in /var/www/domains/magento.local/http/vendor/magento/module-webapi-async/Controller/Rest/Asynchronous/InputParamsResolver.php on line 154 and defined in /var/www/domains/magento.local/http/vendor/magento/framework/Webapi/ServiceInputProcessor.php:172
Stack trace:
#0 /var/www/domains/magento.local/http/vendor/magento/module-webapi-async/Controller/Rest/Asynchronous/InputParamsResolver.php(154): Magento\Framework\Webapi\ServiceInputProcessor->process()
#1 /var/www/domains/magento.local/http/vendor/magento/module-webapi-async/Controller/Rest/Asynchronous/InputParamsResolver.php(100): Magento\WebapiAsync\Controller\Rest\Asynchronous\InputParamsResolver->resolveBulkItemParams()
#2 /var/www/domains/magento.local/http/vendor/magento/module-webapi-async/Controller/Rest/AsynchronousRequestProcessor.php(100): Magento\WebapiAsync\Controller\Rest\Asynchronous\InputParamsResolver->resolve()
#3 /var/www/domains/magento.local/http/vendor/magento/module-webapi/Controller/Rest.php(188): Magento\WebapiAsync\Controller\Rest\AsynchronousRequestProcessor->process()
#4 /var/www/domains/magento.local/http/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest->dispatch()
#5 /var/www/domains/magento.local/http/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\Interceptor->___callParent()
#6 /var/www/domains/magento.local/http/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Rest\Interceptor->Magento\Framework\Interception\{closure}()
#7 /var/www/domains/magento.local/http/generated/code/Magento/Webapi/Controller/Rest/Interceptor.php(23): Magento\Webapi\Controller\Rest\Interceptor->___callPlugins()
#8 /var/www/domains/magento.local/http/vendor/magento/framework/App/Http.php(116): Magento\Webapi\Controller\Rest\Interceptor->dispatch()
#9 /var/www/domains/magento.local/http/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch()
#10 /var/www/domains/magento.local/http/pub/index.php(29): Magento\Framework\App\Bootstrap->run()
#11 {main}
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 _- Affects aesthetics, professional look and feel, “quality” or “usability”.
_
Metadata
Metadata
Assignees
Labels
Issue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for response