Open g-londhe opened 2 years ago
@g-londhe dashboard is triggering several mutations on save, therefore there should be several webhook calls with different payloads.
@timuric none of those have new data for channel_listings
, always values before save are received in web-hook.
+1
Noticed that for channel_listings, always values before save are received in web-hook. New values are not received.
Need to save twice from admin dashboard to get new data.
Noticed same for media
as well.
If I add 2 images in product media from saleor-admin-dashboard, I get 1 in webhook. Next time in edit, if I add 3 images - in webhook I get 2 images.
Something is definitely weird here.
Thanks for reporting, we will dive in next week.
@timuric any idea in which release this will be fixed?
@timuric any idea in which release this will be fixed?
@patrys was this issue resolved?
I am confirming this with the QA team.
This majorly affects everything built using external apps which heavily rely on webhooks.
@manojLondhe we were able to reproduce it and add it as a high priority
What I'm trying to achieve
Update the product from the saleor dashboard and catch the updated data in the webhook.
Steps to reproduce the problem
What I expected to happen
update_product should send the updated data while calling the webhook.
Screenshots and logs
System information
Saleor version:
Operating system: