-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.1.x] Dispatcher doesn't forward when handling exception in PHP5.6 #11819
Comments
exceptions, and improved documentation/test-suite for dispatcher components [phalcon#12154](phalcon#12154), [phalcon#11819](phalcon#11819)
Hi @virgofx, is there any progress on this issue? Thanks! |
@temuri416 We have it fixed; however, still waiting on a core bug in Zephir land which causes a segfault in the updated tests that would allow this to pass and get things merged in. So still in a holding pattern. Anxiously waiting help from @andresgutierrez to help with zephir-lang/zephir#1325. Perhaps if you want to add another ping in that thread -- might help. In the meantime, I've had to override the dispatcher manually which fixes this in our production boxes - If you need this snippet email me directly and I can share with you. |
@andresgutierrez Can we please have your attention? We need your help to get the issue fixed. Thank you! |
…dling Test for #11819 by using new Zephir
Fixed in the |
Verified, working as expected! This is an enormous improvement, thanks a lot. |
A bit late to the party but having the same problem at the moment... Using php 5.6.10 and phalcon 3.2.4 version, i cannot forward either from the beforeException or the beforeExecuteRoute methods.. When i try to forward from the beforeExecuteRoute, i trigger a dispatch cycle loop eventually being picked up by the beforeException, which then also does not manage to forward but returns the index page.. I used the basic INVO tutorial available on the phalcon docs website.. Relevant code follows:
not found plugin
security plugin
any ideas will be greatly appreciated. Thanks |
Code works in 2.0.x. It may have to do with the creation of the new
_dispatch()
method in 2.1.x and multiple levels of try/catch which do not work well in zephir.Pseudo code:
bootstrap
TestController.php
The text was updated successfully, but these errors were encountered: