magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

WEBAPI: bug in catalogProductLinkRepositoryV1SaveRequest doesnt assign item to grouped product if this linked item has no stock

Open ericahoekerd opened this issue 10 years ago • 2 comments

If we send an XML message like this:

<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:def="http://localhost/magento205/soap/default?services=catalogProductLinkRepositoryV1"> soap:Body <def:catalogProductLinkRepositoryV1SaveRequest> <sku>1120</sku> 1001 <linkedProductType>simple</linkedProductType> 3 <linkType>associated</linkType> <qty>1</qty> </entity> /def:catalogProductLinkRepositoryV1SaveRequest </soap:Body> /soap:Envelope

We receive a true as response, but in the backend the item is not linked, reason is that the linked item is out of stock. if we set the item to in_stcok the item will be proper linked

ericahoekerd avatar May 12 '16 11:05 ericahoekerd

Hello @tinxit

To allow us to research the issue, please, provide description according to the template. Also please, provide the used version. If the problem is actual for a specific tag, please, specify it and be sure that the latest update was used.

duhon avatar Jun 22 '16 14:06 duhon

According to contributor guide, tickets without response for two weeks should be closed. Please feel free to reopen if it's needed.

palamar avatar Jul 07 '16 14:07 palamar