Skip to content
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

Table::initialize() is not calling parent in baked table classes. #63

Closed
burzum opened this issue Jun 12, 2015 · 5 comments
Closed

Table::initialize() is not calling parent in baked table classes. #63

burzum opened this issue Jun 12, 2015 · 5 comments

Comments

@burzum
Copy link

burzum commented Jun 12, 2015

Well, the title says it all. :)

@lorenzo
Copy link
Member

lorenzo commented Jun 12, 2015

Any reason why it should do that?

@lorenzo
Copy link
Member

lorenzo commented Jun 12, 2015

and... is this the actually repo you intended to report the issue?

@burzum
Copy link
Author

burzum commented Jun 12, 2015

@lorenzo Yes because this is the template I've baked.

My tables should call the parent because I'm extending my AppTable. See the code here cakephp/bake#119 (comment)

I could ask the same question, why is the parent is not called by default? By experience this will bite you some time in the future when you change the parent for some reason.

@lorenzo
Copy link
Member

lorenzo commented Jun 12, 2015

This plugin does not bake table templates, you can open this same ticket in Bake

@burzum
Copy link
Author

burzum commented Jun 12, 2015

@lorenzo True, thought this gets baked based on the plugins templates as well. Opened cakephp/bake#120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants