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

Entering a config value that should be treated as a string #5

Open
mickeyambrosius opened this issue Feb 11, 2014 · 0 comments
Open

Comments

@mickeyambrosius
Copy link

I've been fighting a little issue with a config value that should be treated as a string. The value is 092 and if I enter it just like that the system discards the 0 because it treats the value as a number and discards leading 0's. If I enter the value as '092' or "092" the hyphens or quotes are included in the config value (off course that is easily fixed by removing the quotes when setting up the Extension configuration, but just not very nice). Am I doing something wrong or is there a bug somewhere? Maybe a configuration parameter is needed in order to tell the system how to treat the config value.

Btw: It does work properly if I enter the config value directly in config.yml as a string '092'.

Thanks,
Mickey

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