You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in order to guard against missing this._route seems to fix it, but I don't know if that's the correct fix. I'm not sure if calling request.generateView at that point is supposed to be supported at all.
The text was updated successfully, but these errors were encountered:
Ok. The problem is that the route is not matched until right after onRequest, hence the bug. I need to map the flows to figure out the right solution here, but it will need to take into account the environment of the plugin, not just the server (if a plugin is in play).
I'm trying to use
request.generateView
to generate a custom error page in an'onRequest'
extension function, like so:request.generateView
fails in request.js:716 withChanging
request.js:716
toin order to guard against missing
this._route
seems to fix it, but I don't know if that's the correct fix. I'm not sure if callingrequest.generateView
at that point is supposed to be supported at all.The text was updated successfully, but these errors were encountered: