upgrade to 14 and Listeners #2619
-
My Listeners work on version 13 cant be upgraded to 14 because of the change usages of Listeners. I Want
Any eligible coding option to resolve my issue is appreciated. Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hi @macit-emre. The variability of the new Listener record is still preserved. |
Beta Was this translation helpful? Give feedback.
-
I have a similar problem, converting old listeners to new format.
file
@tabuna take note that same error occur when I made a new listener, where I want to replicate the example on documentation:
Where I'm wrong? |
Beta Was this translation helpful? Give feedback.
-
@tabuna I post my listener code for evaluation.
still remain also on replicate example listener on documentation.
I don't know if the problem is caused by select that have initial
|
Beta Was this translation helpful? Give feedback.
-
@tabuna excuse me: I'm very stupid... On /app/Providers:
and on our listener (please see my previous comment):
This solve my problem and I hope could be useful also for @macit-emre |
Beta Was this translation helpful? Give feedback.
here i am again. I have city and district selectboxes. By default district selectbox is empty. My misunderstanding is - as there is no example of how to use Listeners but a simple subtract sample - i thought that layouts method inside Listener wouldn't work anymore. I currently understand this.
But i see now that, layout method works but a different way. It works as a Layout in normal request like bedfore, but it works from a "Repository based class" when request comes from async. Thus i need to change my Listener's layout that expects Model for logic operations to repository based arrays.
in Listener.php build method there is : $this->query = $repository;
I now fully understand the Liste…