Skip to content

Fixed "all" Task to allow plugin baking.#17

Merged
lorenzo merged 5 commits into
cakephp:masterfrom
DSchalla:master
Jan 5, 2015
Merged

Fixed "all" Task to allow plugin baking.#17
lorenzo merged 5 commits into
cakephp:masterfrom
DSchalla:master

Conversation

@DSchalla
Copy link
Copy Markdown
Contributor

Calling "bake" directly in the Tasks skips the $this->_getName(); function call, which separates Plugin from Name. Fix is to call main(); instead of bake();.

@markstory markstory added this to the 1.0.0 milestone Dec 30, 2014
@markstory
Copy link
Copy Markdown
Member

Looks good to me. Test failures are likely to be unrelated.

@markstory markstory mentioned this pull request Jan 2, 2015
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think associations should be serialized

@DSchalla
Copy link
Copy Markdown
Contributor Author

DSchalla commented Jan 4, 2015

Will fix that the next days, what you would recommend instead in the task? Not baking the compact but only the main stuff?

@DSchalla
Copy link
Copy Markdown
Contributor Author

DSchalla commented Jan 5, 2015

Fixed the serialize to only use the main model.

@lorenzo
Copy link
Copy Markdown
Member

lorenzo commented Jan 5, 2015

Thanks!

lorenzo added a commit that referenced this pull request Jan 5, 2015
Fixed "all" Task to allow plugin baking.
@lorenzo lorenzo merged commit 7ed737b into cakephp:master Jan 5, 2015
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

Successfully merging this pull request may close these issues.

3 participants