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

Add mention of nested/embedded controller in Upgrading doc #234

Closed
derks opened this Issue Feb 12, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@derks
Member

derks commented Feb 12, 2014

Forgot to add a section to the Upgrading doc about nested controllers (causing issues going from Cement < 2.2 and upgrading to >= 2.2).

@BlaineAtAffirm

This comment has been minimized.

Show comment
Hide comment
@BlaineAtAffirm

BlaineAtAffirm Apr 2, 2014

Could you perhaps just give a quick mention here of the known issues? I'm currently experiencing issues with "duplicated args" for nested controllers while upgrading. Not sure if there is a workaround in the new version.

BlaineAtAffirm commented Apr 2, 2014

Could you perhaps just give a quick mention here of the known issues? I'm currently experiencing issues with "duplicated args" for nested controllers while upgrading. Not sure if there is a workaround in the new version.

@derks

This comment has been minimized.

Show comment
Hide comment
@derks

derks Apr 2, 2014

Member

I do not remember the exact circumstance off the top of my head, however I believe you simply need to set stacked_type = "nested" in your controller's Meta section. The default is "embedded", meaning that the commands (functions) and arguments are added to the parent (stacked_on). Let me know if that helps, you can also hit me up in #cement on IRC (freenode).

Member

derks commented Apr 2, 2014

I do not remember the exact circumstance off the top of my head, however I believe you simply need to set stacked_type = "nested" in your controller's Meta section. The default is "embedded", meaning that the commands (functions) and arguments are added to the parent (stacked_on). Let me know if that helps, you can also hit me up in #cement on IRC (freenode).

@derks derks added the dev/2.3.x label Apr 2, 2014

derks added a commit that referenced this issue Apr 15, 2014

derks added a commit that referenced this issue Apr 15, 2014

@derks derks closed this Apr 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment