DivanteLtd / pimcore-magento2-bridge

Pimcore module for Magento 2 integration
35 stars 24 forks source link

Unpublish send an insert/update action #115

Open TheCreeps opened 2 years ago

TheCreeps commented 2 years ago

Hi, I have one problem with the unpublish who send an insert/update request to magento 2.4.3-p2.

That is my log

`[2022-04-15 10:34:58] StreamLogger.INFO: Pimcore data received: {"product_id":91003,"store_view_id":0,"action":"insert/update"} [] [2022-04-15 10:34:58] StreamLogger.INFO: ====REQUEST==== POST https://****/webservice/rest/product/update-status HTTP/1.1 Authorization: Bearer d707622817d7a2b5d3417a6 Content-Type: application/x-www-form-urlencoded Accept: application/x-www-form-urlencoded

QUERY: instanceUrl=https://****&apikey=d7076228d3417a612d61&storeViewId=0 POST: message=product with ID 91003 successfully added to queue&status=SUCCESS&id=91003 [] [] [2022-04-15 10:34:58] StreamLogger.INFO: {"success":true} [] [] [2022-04-15 10:34:58] StreamLogger.INFO: 200 ["Product 91003 has been added to queue"] [] [2022-04-15 10:35:53] StreamLogger.INFO: ====REQUEST==== GET https://****/webservice/rest/product HTTP/1.1 Authorization: Bearer d707622817d7a2b54617a612d61cea2ec256710aee247 Content-Type: application/x-www-form-urlencoded Accept: application/x-www-form-urlencoded

QUERY: id=91003&instanceUrl=https://****&apikey=d707a11530fd3417a612d&storeViewId=0 POST: [] [] [2022-04-15 10:35:54] StreamLogger.INFO: ====REQUEST==== POST https://****/webservice/rest/product/update-status HTTP/1.1 Authorization: Bearer d707622817d7a2b546bb2b48852d61cea2ec Content-Type: application/x-www-form-urlencoded Accept: application/x-www-form-urlencoded

QUERY: instanceUrl=https://****&apikey=d70762fd3417a612d61&storeViewId=0 POST: message=Product with ID "91003" has been successfully insert/update&status=SUCCESS&id=91003 [] [] [2022-04-15 10:35:54] StreamLogger.INFO: {"success":true} [] [] ` On my magento log i can see this call :

[15/Apr/2022:10:35:54 +0200] "PUT /rest/V1/bridge/catalog/product/add HTTP/1.1" 200

Anyone for a little help ?

Thank you