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

[ConfigBundle] InternalName always null #1418

Closed
KevinSleegers opened this issue Dec 20, 2016 · 2 comments
Closed

[ConfigBundle] InternalName always null #1418

KevinSleegers opened this issue Dec 20, 2016 · 2 comments

Comments

@KevinSleegers
Copy link

Hi,

Recently I've created a new project with Kunstmaan 4.0 because I wanted to use the new ConfigBundle functionality.

I've followed all the steps in the documentation, and have had no trouble creating the entity and form type. The problem I'm facing right now is that my internalName (the param in indexAction of ConfigController.php) always returns 'null'.

Note; I am using a singlelang website so in the routing I have set the prefix (in kunstmaan_config) to always use /nl/).

Does anyone know what I might be doing wrong?

Thanks in advance,
Kevin

@adrianwaler
Copy link
Contributor

Hey,

I discovered it today when I wanted use this bundle.

0cd0239

Variable name was changed from internal_name to internalName in indexAction, but in routing and view still is internal_name.

https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/master/src/Kunstmaan/ConfigBundle/Resources/config/routing.yml#L2

This is not your fault and it should be fixed in ConfigBundle.

@KevinSleegers
Copy link
Author

Thanks, it is working fine now! 👍

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