hallowed-eye-69242
07/04/2023, 8:36 AM202009.0. Previously everything was fine.
My last task was to extend product-discontinued module to have store relation so product can be discontinued for one store only.
As I introduced new spy_product_discontinued_store table, I created two new listeners, that publish or unpublish when there are changes in this store.
This listeners doesn't extend core listeners.
Locally everything work perfectly, but on staging it works time-to-time. Once it works, next time it fails with an error: "errorMessage":"Message body is not valid" .
If I trigger listeners with console event:trigger:listener I have no problem, everything works fine.
I have found this message in EventQueueConsumer and we have it, when listener or EventEntityTransfer is missing. But, as I see in rabbitMQ message, both listenerClassName and transferClassName are set and they definitely exist.
And, as I said previously, it works randomly - sometimes works, sometimes - not.
I have no idea how to debug it or what else I can do.
Any ideas? Thank you in advance.best-sundown-96727
07/04/2023, 9:01 AMhallowed-eye-69242
07/04/2023, 9:03 AMbest-sundown-96727
07/04/2023, 9:05 AMbest-sundown-96727
07/04/2023, 9:05 AMbest-sundown-96727
07/04/2023, 9:06 AMbest-sundown-96727
07/04/2023, 9:06 AMbest-sundown-96727
07/04/2023, 9:07 AMbest-sundown-96727
07/04/2023, 9:08 AMhallowed-eye-69242
07/04/2023, 9:11 AM