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

Undefined index: xxxx #29

Open
janimattiellonen opened this issue Jun 8, 2014 · 1 comment
Open

Undefined index: xxxx #29

janimattiellonen opened this issue Jun 8, 2014 · 1 comment

Comments

@janimattiellonen
Copy link

A lot of configurations are currently assumed to be configured. If they are not, then a "Undefined index: xxx" warning is issued.

Maybe add an isset() call to mitigate these unnecessary warnings?
If these are required values then an exception could be thrown if a specific index is missing.

See Xi\Bundle\FilelibBundle\DependencyInjection\XiFilelibExtension::load()

@janimattiellonen
Copy link
Author

Apparently this can be fixed also by using addDefaultsIfNotSet() in Xi\Bundle\FilelibBundle\DependencyInjection\Configuration class and provide sensible defaults.

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

1 participant