View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0030792||mantisbt||api rest||public||2022-07-24 03:27||2023-01-05 06:19|
|Priority||low||Severity||major||Reproducibility||have not tried|
|Summary||0030792: Cannot get the currently executing plugin using an asynchronous REST API call|
I'm using EVENT_REST_API_ROUTES event to register a route within my plugin's route group.
|Tags||No tags attached.|
I was able to fix this by running
The expected behaviour would be that this works OOTB and my plugin exists in the
It's still so frustrating... Anyone have any ideas? Am I doing something wrong?
This is what I do as well.
Thanks @dregad, it's somehow comforting. I mean it.
For now I moved this logic into a middleware but I have an impression that this is more of a workaround than a desired solution.
I would tend to agree, but I'm not sure how to go about fixing this, and unfortunately I do not have the time to look into a better and more permanent solution.
I you have any ideas, your contribution would be welcome.