We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In my application, the ViewJsonStrategy is registered and used in "MyModule".
If i add "ZfcTwig" before "MyModule" in the application.config.php, the ViewJsonStrategy won't work:
If i add ZfcTwig after adding "MyModule", everything works fine.
application.config.php before - this will brake the ViewJsonStrategy:
<?php return [ 'modules' => [ 'ZfcTwig', 'MyModule', ], ];
this will fix the ViewJsonStrategy:
<?php return [ 'modules' => [ 'MyModule', 'ZfcTwig', ], ];
As far as i know, it happens because it's added at the same priority, so it is tested for the ability to render in the order it is added.
I think - at least - it's worth adding this to the Readme.md.
The text was updated successfully, but these errors were encountered:
Does this still happen in the refactor branch?
Sorry, something went wrong.
Also having this issue with a simple return new JsonModel([...]); in the controller, but the good news is it doesn't happen in refactor (at f5b116b).
return new JsonModel([...]);
Still experiencing this, ZF 2.2.6, ZfcTwig 1.1.5
issue resolved
see #83
No branches or pull requests
In my application, the ViewJsonStrategy is registered and used in "MyModule".
If i add "ZfcTwig" before "MyModule" in the application.config.php, the ViewJsonStrategy won't work:
If i add ZfcTwig after adding "MyModule", everything works fine.
application.config.php before - this will brake the ViewJsonStrategy:
this will fix the ViewJsonStrategy:
As far as i know, it happens because it's added at the same priority, so it is tested for the ability to render in the order it is added.
I think - at least - it's worth adding this to the Readme.md.
The text was updated successfully, but these errors were encountered: