Skip to content

Missing parameter $name #4981

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

Closed
wants to merge 2 commits into from
Closed

Missing parameter $name #4981

wants to merge 2 commits into from

Conversation

franzholz
Copy link
Contributor

"function indexAction()" misses the parameter $name. This is needed because it is forwarded afterwards.

"function indexAction($name)"

"function indexAction()" misses the parameter $name. This is needed because it is forwarded afterwards.

"function indexAction($name)"
@stof
Copy link
Member

stof commented Feb 10, 2015

This is wrong as well, because the route does not define a name placeholder, so there will be no name attribute to be passed to the controller. The forwarding call should be fixed instead

@wouterj
Copy link
Member

wouterj commented Feb 14, 2015

Thank you for trying to fix this bug!

However, the example is pretty wrong itself (as @stof already tried to explain). The plans are to remove this complete section. I'm going to close this PR in favor of #4644 (you can also read the discussion about this section in there). Thanks again!

@wouterj wouterj closed this Feb 14, 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