-
Notifications
You must be signed in to change notification settings - Fork 101
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
the baking of a custom action is not working #89
Comments
I wasn't able to reproduce this with either app templates, or plugin templates. Both
resulted in a generated view file. In both instances the |
Early morning I've repeated and logged all my actions to reproduce it on clean install and .... it works. Here is the all actions:
repeated steps related to Beauty plugin on the app where was errors - it works too. repeated with this action - working repeated with original action – not working!!! did No idea why it happens. Permissions are the same. The filename is the same. I've tried to empty the file - result the same: nothing generated. Devilry miracle... Anyway it's a good idea to give some meaning output if there are something wrong with template. @markstory
|
I've updated cakephp/bake to 1.0.7. Now with the strange file I'm getting a message: |
Yea! I've found! The output of the ctp file is empty!!! I.e. between <% and %> there are a code but no output. And seems that the generator can't produce anything from the file and fails... |
It seems, that the backing custom action is not working:
bin/cake bake template roles reset --plugin Guard --theme Tools --force
but backing CRUD actions works well
bin/cake bake template roles view --plugin Guard --theme Tools --force
The action
reset
in a controllerRolesController.php
in pluginGuard
(additionally to CRUD and other) exists.The template for the action
APP/plugins/Tools/src/Template/Bake/Template/reset.ctp
exists too.I think something wrong happens around
APP/vendor/cakephp/bake/src/View/BakeView.php
The text was updated successfully, but these errors were encountered: